Class ReproduceGPSTrace
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.Action
,java.io.Serializable
public class ReproduceGPSTrace<T, O extends RoutingServiceOptions<O>, S extends RoutingService<GeoPosition, O>> extends MoveOnMapWithGPS<T, O, S>
-
-
Constructor Summary
Constructors Constructor Description ReproduceGPSTrace(MapEnvironment<T, O, S> environment, Node<T> node, Reaction<T> reaction, String path, boolean cycle, String normalizer, Array<Object> normalizerArgs)
ReproduceGPSTrace(MapEnvironment<T, O, S> environment, Node<T> node, Reaction<T> reaction, double speed, String path, boolean cycle, String normalizer, Array<Object> normalizerArgs)
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class it.unibo.alchemist.model.maps.actions.MoveOnMapWithGPS
traceFor
-
Methods inherited from class it.unibo.alchemist.model.maps.actions.MoveOnMap
cloneAction, 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
-
ReproduceGPSTrace
ReproduceGPSTrace(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 reaction.path
- 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
-
ReproduceGPSTrace
ReproduceGPSTrace(MapEnvironment<T, O, S> environment, Node<T> node, Reaction<T> reaction, double speed, String path, boolean cycle, String normalizer, Array<Object> normalizerArgs)
- Parameters:
environment
- the environmentnode
- the nodereaction
- the reaction.speed
- the average speedpath
- 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
-
-
-
-