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.
Type 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 in.
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.