CognitiveAgentReachKnownDestination
A cognitive navigation action that pursues known destinations using ReachKnownDestination strategy.
Parameters
the environment hosting the node
the reaction executing this action
the owner pedestrian property
vararg coordinates representing known destinations
Type Parameters
the concentration type
the landmark shape type used by the node's cognitive map
the relation/edge type used by the node's cognitive map
Constructors
Properties
The room (= environment's area) the navigatingNode is into, this is cached and updated every time update is called so as to avoid potentially costly re-computations.
The position the node wants to reach.
the Euclidean environment with navigation graph
The owner of this action.
The navigatingNode's orienting property.
The position of the navigatingNode in the environment, this is cached and updated every time update is called so as to avoid potentially costly re-computations.
Functions
This method allows to clone this action on a new node. It may result useful to support runtime creation of nodes with the same reaction programming, e.g. for morphogenesis.
Moves the node across the provided door, which must be among the doors returned by doorsInSight.
Moves the node to the given final destination, which must be inside currentRoom.
Returns the target relative position the owner will move to when this action is executed. The position is relative to the owner's current position.