-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.interfaces.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.implementations.actions.AbstractConfigurableMoveNode
getNextPosition -
Methods inherited from class it.unibo.alchemist.model.implementations.actions.AbstractMoveNode
execute, getContext -
Methods inherited from class it.unibo.alchemist.model.implementations.actions.AbstractAction
getOutboundDependencies, toString -
Methods inherited from class it.unibo.alchemist.model.interfaces.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)
-
-
-
-