Package 

Class AbstractSteeringActionWithTarget

    • 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 target() The position the owner of this action moves towards, in absolute coordinates.
      P nextPosition()
      • Methods inherited from class it.unibo.alchemist.model.implementations.actions.AbstractSteeringActionWithTarget

        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

      • AbstractSteeringActionWithTarget

        AbstractSteeringActionWithTarget(Environment<T, P> environment, Reaction<T> reaction, Pedestrian<T, P, A> pedestrian, TargetSelectionStrategy<T, P> targetSelectionStrategy)
        Parameters:
        environment -
            the environment inside which the pedestrian moves.
        pedestrian -
            the owner of this action.
        targetSelectionStrategy -
            strategy selecting the next target.