Class MoveOnMap
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.Action
,java.io.Serializable
public class MoveOnMap<T, O extends RoutingServiceOptions<O>, S extends RoutingService<GeoPosition, O>> extends AbstractConfigurableMoveNode<T, P>
-
-
Constructor Summary
Constructors Constructor Description MoveOnMap(MapEnvironment<T, O, S> environment, Node<T> node, RoutingStrategy<T, GeoPosition> routingStrategy, SpeedSelectionStrategy<T, GeoPosition> speedSelectionStrategy, TargetSelectionStrategy<T, GeoPosition> targetSelectionStrategy)
-
Method Summary
Modifier and Type Method Description final MapEnvironment<T, O, S>
getEnvironment()
MoveOnMap<T, O, S>
cloneAction(Node<T> node, Reaction<T> reaction)
Fails, can't be cloned. -
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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
MoveOnMap
MoveOnMap(MapEnvironment<T, O, S> environment, Node<T> node, RoutingStrategy<T, GeoPosition> routingStrategy, SpeedSelectionStrategy<T, GeoPosition> speedSelectionStrategy, TargetSelectionStrategy<T, GeoPosition> targetSelectionStrategy)
- Parameters:
environment
- the environmentnode
- the noderoutingStrategy
- the RoutingStrategyspeedSelectionStrategy
- the SpeedSelectionStrategytargetSelectionStrategy
- TargetSelectionStrategy
-
-
Method Detail
-
getEnvironment
final MapEnvironment<T, O, S> getEnvironment()
-
-
-
-