CognitiveAgentReachKnownDestination
A CognitiveAgentNavigationAction2D using ReachKnownDestination navigation strategy.
Parameters
the concentration type.
the type of landmarks of the node's cognitive map.
the type of edges of the node's cognitive map, representing the Relations between landmarks.
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 environment the navigatingNode is into.
The owner of this action.
The navigatingNode's orientingProperty.
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 doorsInSight.
Moves the node to the given final destination, which must be inside currentRoom.
The position the owner of this action moves to when it is executed, in relative coordinates with respect to its current position.