Class TargetMapWalker

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class it.unibo.alchemist.model.maps.actions.MoveOnMap

        cloneAction, getEnvironment
      • 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

        cloneAction
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TargetMapWalker

        TargetMapWalker(MapEnvironment<T, O, S> environment, Node<T> node, Reaction<T> reaction, Molecule trackMolecule, Molecule interactingMolecule, double speed, double interaction, double range)
        Parameters:
        environment - the environment
        node - the node
        reaction - the reaction.
        trackMolecule - the molecule to track.
        interactingMolecule - the molecule that decides wether or not a node is physically interacting with the node in which this action is executed, slowing this node down.
        speed - the speed at which this MoveOnMap will move
        interaction - the higher, the more the MoveOnMap slows down when obstacles are found
        range - the range in which searching for possible obstacles.
      • TargetMapWalker

        TargetMapWalker(MapEnvironment<T, O, S> environment, Node<T> node, Reaction<T> reaction, Molecule trackMolecule, Molecule interactingMolecule, double speed)
        Parameters:
        environment - the environment
        node - the node
        reaction - the reaction.
        trackMolecule - the molecule to track.
        interactingMolecule - the molecule that decides wether or not a node is physically interacting with the node in which this action is executed, slowing this node down.
        speed - the speed at which this MoveOnMap will move when obstacles are found
      • TargetMapWalker

        TargetMapWalker(MapEnvironment<T, O, S> environment, Node<T> node, Reaction<T> reaction, Molecule trackMolecule, Molecule interactingMolecule)
        Parameters:
        environment - the environment
        node - the node
        reaction - the reaction.
        trackMolecule - the molecule to track.
        interactingMolecule - the molecule that decides wether or not a node is physically interacting with the node in which this action is executed, slowing this node down.
      • TargetMapWalker

        TargetMapWalker(MapEnvironment<T, O, S> environment, Node<T> node, Reaction<T> reaction, String trackMolecule, String interactingMolecule, double speed, double interaction, double range)
        Parameters:
        environment - the environment
        node - the node
        reaction - the reaction.
        trackMolecule - the molecule to track.
        interactingMolecule - the molecule that decides wether or not a node is physically interacting with the node in which this action is executed, slowing this node down.
        speed - the speed at which this MoveOnMap will move
        interaction - the higher, the more the MoveOnMap slows down when obstacles are found
        range - the range in which searching for possible obstacles.
      • TargetMapWalker

        TargetMapWalker(MapEnvironment<T, O, S> environment, Node<T> node, Reaction<T> reaction, String trackMolecule, double speed)
        Parameters:
        environment - the environment
        node - the node
        reaction - the reaction.
        trackMolecule - the molecule to track.
        speed - the speed at which this MoveOnMap will move
      • TargetMapWalker

        TargetMapWalker(MapEnvironment<T, O, S> environment, Node<T> node, Reaction<T> reaction, String trackMolecule)
        Parameters:
        environment - the environment
        node - the node
        reaction - the reaction.
        trackMolecule - the molecule to track.
    • Method Detail