Class GPSTraceWalker
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.Action,java.io.Serializable
public final class GPSTraceWalker<T, O extends RoutingServiceOptions<O>, S extends RoutingService<GeoPosition, O>> extends MoveOnMapWithGPS<T, O, S>
A walker that follows a trace. The trace is mandatory.
-
-
Constructor Summary
Constructors Constructor Description GPSTraceWalker(MapEnvironment<T, O, S> environment, Node<T> node, Reaction<T> reaction, O options, String path, boolean cycle, String normalizer, Array<Object> normalizerArgs)GPSTraceWalker(MapEnvironment<T, O, S> environment, Node<T> node, Reaction<T> reaction, String path, boolean cycle, String normalizer, Array<Object> normalizerArgs)
-
Method Summary
Modifier and Type Method Description GPSTraceWalker<T, O, S>cloneAction(Node<T> node, Reaction<T> reaction)Fails, can't be cloned. -
Methods inherited from class it.unibo.alchemist.model.maps.actions.MoveOnMapWithGPS
traceFor -
Methods inherited from class it.unibo.alchemist.model.maps.actions.MoveOnMap
getEnvironment -
Methods inherited from class it.unibo.alchemist.model.actions.AbstractConfigurableMoveNode
getNextPosition -
Methods inherited from class it.unibo.alchemist.model.actions.AbstractMoveNode
execute, getContext -
Methods inherited from class it.unibo.alchemist.model.actions.AbstractAction
getOutboundDependencies, toString -
Methods inherited from class it.unibo.alchemist.model.Action
cloneAction -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
GPSTraceWalker
GPSTraceWalker(MapEnvironment<T, O, S> environment, Node<T> node, Reaction<T> reaction, O options, String path, boolean cycle, String normalizer, Array<Object> normalizerArgs)
- Parameters:
environment- the environmentnode- the nodereaction- the reactionoptions- options for the computation of routespath- resource(file, directory, ...cycle- true if the traces have to be distributed cyclicallynormalizer- name of the class that implement the strategy to normalize the timenormalizerArgs- Args to build normalize
-
GPSTraceWalker
GPSTraceWalker(MapEnvironment<T, O, S> environment, Node<T> node, Reaction<T> reaction, String path, boolean cycle, String normalizer, Array<Object> normalizerArgs)
- Parameters:
environment- the environmentnode- the nodereaction- the reactionpath- resource(file, directory, ...cycle- true if the traces have to be distributed cyclicallynormalizer- name of the class that implement the strategy to normalize the timenormalizerArgs- Args to build normalize
-
-
Method Detail
-
cloneAction
GPSTraceWalker<T, O, S> cloneAction(Node<T> node, Reaction<T> reaction)
Fails, can't be cloned.
-
-
-
-