Class MoveToTarget

  • 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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      MoveToTarget(Environment<T, P> environment, Node<T> node, Reaction<T> reaction, Molecule trackMolecule, double speed)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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 environment
        node - the node
        reaction - the reaction
        trackMolecule - the molecule whose concentration will be intended as destination
        speed - the speed of the node