Package it.unibo.alchemist.model.actions
Class MoveToTarget
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.Action
,java.io.Serializable
public final class MoveToTarget<T, P extends Position2D<P>> extends AbstractConfigurableMoveNode<T, P>
Movement towards a target defined as a concentration.
-
-
Constructor Summary
Constructors Constructor Description MoveToTarget(Environment<T, P> environment, Node<T> node, Reaction<T> reaction, Molecule trackMolecule, double speed)
-
Method Summary
Modifier and Type Method Description MoveToTarget<T, P>
cloneAction(Node<T> node, Reaction<T> reaction)
-
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
execute, getContext, getOutboundDependencies
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
MoveToTarget
MoveToTarget(Environment<T, P> environment, Node<T> node, Reaction<T> reaction, Molecule trackMolecule, double speed)
- Parameters:
environment
- the environmentnode
- the nodereaction
- the reactiontrackMolecule
- the molecule whose concentration will be intended as destinationspeed
- the speed of the node
-
-
Method Detail
-
cloneAction
MoveToTarget<T, P> cloneAction(Node<T> node, Reaction<T> reaction)
-
-
-
-