Class TraceDependantSpeed
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.maps.ObjectWithGPS
,it.unibo.alchemist.model.movestrategies.SpeedSelectionStrategy
,java.io.Serializable
public abstract class TraceDependantSpeed<T, O extends RoutingServiceOptions<O>, S extends RoutingService<GeoPosition, O>> extends AbstractStrategyWithGPS implements SpeedSelectionStrategy<T, P>
This strategy dynamically tries to move the node adjusting its speed to synchronize the reaction rate and the traces data.
-
-
Constructor Summary
Constructors Constructor Description TraceDependantSpeed(MapEnvironment<T, O, S> environment, Node<T> node, Reaction<T> reaction)
-
Method Summary
Modifier and Type Method Description final double
getNodeMovementLength(GeoPosition target)
-
Methods inherited from class it.unibo.alchemist.model.maps.movestrategies.AbstractStrategyWithGPS
setTrace
-
Methods inherited from class it.unibo.alchemist.model.movestrategies.SpeedSelectionStrategy
cloneIfNeeded
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getNodeMovementLength
final double getNodeMovementLength(GeoPosition target)
-
-
-
-