Class RoutingTraceDependantSpeed
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.maps.ObjectWithGPS
,it.unibo.alchemist.model.movestrategies.SpeedSelectionStrategy
,java.io.Serializable
public final class RoutingTraceDependantSpeed<T, O extends RoutingServiceOptions<O>, S extends RoutingService<GeoPosition, O>> extends TraceDependantSpeed<T, O, S>
This TraceDependantSpeed strategy computes the remaining distance by relying on maps data for the selected RoutingServiceOptions.
-
-
Constructor Summary
Constructors Constructor Description RoutingTraceDependantSpeed(MapEnvironment<T, O, S> environment, Node<T> node, Reaction<T> reaction, O options)
-
Method Summary
Modifier and Type Method Description RoutingTraceDependantSpeed<T, O, S>
cloneIfNeeded(Node<T> destination, Reaction<T> reaction)
-
Methods inherited from class it.unibo.alchemist.model.maps.movestrategies.AbstractStrategyWithGPS
setTrace
-
Methods inherited from class it.unibo.alchemist.model.maps.movestrategies.speed.TraceDependantSpeed
getNodeMovementLength
-
Methods inherited from class it.unibo.alchemist.model.movestrategies.SpeedSelectionStrategy
getNodeMovementLength
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
cloneIfNeeded
RoutingTraceDependantSpeed<T, O, S> cloneIfNeeded(Node<T> destination, Reaction<T> reaction)
-
-
-
-