AbstractNavigationAction
An abstract NavigationAction, taking care of properly moving the node in the environment while delegating the decision on where to move it to a NavigationStrategy.
Parameters
the concentration type.
the transformations supported by the shapes in this space.
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.
the type of nodes of the navigation graph provided by the environment.
the type of edges of the navigation graph provided by the environment.
Inheritors
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.