CognitiveAgentExplore
A CognitiveAgentNavigationAction2D using Explore navigation strategy.
Type 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 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.
The NodeReaction owning this action, hosted by targetNode.
Functions
Creates an equivalent action owned by newReaction, such as a reaction cloned onto a new node. An action targeting the host of its reaction targets the host of newReaction, which must then be a Node; an action targeting any other node keeps its target.
Moves the node across the provided door, which must be among the doors returned by doorsInSight.
Moves the node according to getNextPosition, in absolute or relative coordinates depending on isAbsolute.
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.