Class CognitiveAgentReachKnownDestination
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.Action
,it.unibo.alchemist.model.cognitive.NavigationAction
,it.unibo.alchemist.model.cognitive.SteeringAction
,java.io.Serializable
public final class CognitiveAgentReachKnownDestination<T extends Object, L extends ConvexShape<Euclidean2DPosition, Euclidean2DTransformation>, R extends Object> extends CognitiveAgentNavigationAction2D<T, L, R>
A CognitiveAgentNavigationAction2D using ReachKnownDestination navigation strategy.
-
-
Field Summary
Fields Modifier and Type Field Description private final Euclidean2DEnvironmentWithGraph<?, T, ConvexPolygon, Euclidean2DPassage>
environment
private final Node<T>
navigatingNode
private Euclidean2DPosition
pedestrianPosition
private ConvexPolygon
currentRoom
private final Euclidean2DPosition
desiredPosition
private final Double
maxWalk
private final OrientingProperty<T, Euclidean2DPosition, Euclidean2DTransformation, L, ConvexPolygon, Euclidean2DPassage>
orientingProperty
-
Constructor Summary
Constructors Constructor Description CognitiveAgentReachKnownDestination(Euclidean2DEnvironmentWithGraph<?, T, ConvexPolygon, Euclidean2DPassage> environment, Reaction<T> reaction, PedestrianProperty<T> pedestrian, Number destinations)
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class it.unibo.alchemist.model.cognitive.actions.CognitiveAgentNavigationAction2D
cloneAction, crossDoor, getEnvironment, nextPosition
-
Methods inherited from class it.unibo.alchemist.model.cognitive.actions.AbstractNavigationAction
doorsInSight, getCurrentRoom, getDesiredPosition, getNavigatingNode, getPedestrianPosition, moveToFinal, setCurrentRoom, setPedestrianPosition, update
-
Methods inherited from class it.unibo.alchemist.model.cognitive.actions.AbstractSteeringAction
getMaxWalk, getNextPosition
-
Methods inherited from class it.unibo.alchemist.model.cognitive.NavigationAction
getOrientingProperty, stop
-
Methods inherited from class it.unibo.alchemist.model.actions.AbstractAction
getOutboundDependencies, toString
-
Methods inherited from class it.unibo.alchemist.model.actions.AbstractMoveNode
execute, getContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
CognitiveAgentReachKnownDestination
CognitiveAgentReachKnownDestination(Euclidean2DEnvironmentWithGraph<?, T, ConvexPolygon, Euclidean2DPassage> environment, Reaction<T> reaction, PedestrianProperty<T> pedestrian, Number destinations)
-
-
-
-