Package it.unibo.alchemist.model.actions
Class EuclideanConfigurableMoveNode
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.Action
,java.io.Serializable
public class EuclideanConfigurableMoveNode<T extends Object, P extends Position<P>, Vector<P>> extends AbstractConfigurableMoveNode<T, P>
It's an AbstractConfigurableMoveNode in the Euclidean world, which provides a default interpolatePositions that is accurate with respect to the target given and the current maximum walking distance.
-
-
Constructor Summary
Constructors Constructor Description EuclideanConfigurableMoveNode(Environment<T, P> environment, Node<T> node, Reaction<T> reaction, RoutingStrategy<T, P> routingStrategy, TargetSelectionStrategy<T, P> targetSelectionStrategy, Double speed)
EuclideanConfigurableMoveNode(Environment<T, P> environment, Node<T> node, RoutingStrategy<T, P> routingStrategy, TargetSelectionStrategy<T, P> targetSelectionStrategy, SpeedSelectionStrategy<T, P> speedSelectionStrategy)
-
Method Summary
-
Methods inherited from class it.unibo.alchemist.model.actions.AbstractAction
getOutboundDependencies, toString
-
Methods inherited from class it.unibo.alchemist.model.actions.AbstractMoveNode
execute, getContext
-
Methods inherited from class it.unibo.alchemist.model.actions.AbstractConfigurableMoveNode
getNextPosition
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
EuclideanConfigurableMoveNode
EuclideanConfigurableMoveNode(Environment<T, P> environment, Node<T> node, Reaction<T> reaction, RoutingStrategy<T, P> routingStrategy, TargetSelectionStrategy<T, P> targetSelectionStrategy, Double speed)
- Parameters:
environment
- the Environment which is executing the simulationnode
- the Node which is executing the current Actionreaction
- the reaction which is executing the current ActionroutingStrategy
- the RoutingStrategy selected for this ActiontargetSelectionStrategy
- the TargetSelectionStrategy selected for this Actionspeed
- the maximum speed set to a GloballyConstantSpeed instance
-
EuclideanConfigurableMoveNode
EuclideanConfigurableMoveNode(Environment<T, P> environment, Node<T> node, RoutingStrategy<T, P> routingStrategy, TargetSelectionStrategy<T, P> targetSelectionStrategy, SpeedSelectionStrategy<T, P> speedSelectionStrategy)
- Parameters:
environment
- the Environment which is executing the simulationnode
- the Node which is executing the current ActionroutingStrategy
- the RoutingStrategy selected for this ActiontargetSelectionStrategy
- the TargetSelectionStrategy selected for this ActionspeedSelectionStrategy
- the SpeedSelectionStrategy selected for this Action
-
-
-
-