Package 

Class CognitiveAgentFlee

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final Double maxWalk
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Double getMaxWalk()
      P nextPosition() The position the owner of this action moves to when it is executed, in relative coordinates with respect to its current position.
      • Methods inherited from class it.unibo.alchemist.model.implementations.actions.CognitiveAgentFlee

        cloneAction, getNextPosition
      • Methods inherited from class it.unibo.alchemist.model.implementations.actions.AbstractMoveNode

        declareDependencyTo, getConcentration, getOutboundDependencies, nodeContains, removeConcentration, setConcentration, toString
      • Methods inherited from class it.unibo.alchemist.model.implementations.actions.AbstractSteeringAction

        execute, getContext, getCurrentPosition, getEnvironment, getNodePosition, isAbsolute
      • Methods inherited from class java.lang.Object

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

      • CognitiveAgentFlee

        CognitiveAgentFlee(Environment<T, P> env, Reaction<T> reaction, Pedestrian<T, P, A> pedestrian, Double coords)
        Parameters:
        env -
            the environment inside which the pedestrian moves.
        reaction -
            the reaction which executes this action.
        pedestrian -
            the owner of this action.
        coords -
            the coordinates of the position the pedestrian moves away.
    • Method Detail

      • nextPosition

         P nextPosition()

        The position the owner of this action moves to when it is executed, in relative coordinates with respect to its current position.