LPAPathNodeHelper is a special PathNodeHelper class designed specifically for LPA* pathfinding http://idm-lab.org/project-a.html. More...
Public Member Functions | |
| LPAPathNodeHelper (int nodeIndex, int startNodeIndex) | |
| Constructor. | |
| override int | CompareTo (PathGraph graph, PathNodeHelper h) |
| A comparison function comparing this node to a given pathnodehelper. | |
Public Attributes | |
| float | rhs |
| rhs will contain a one step lookahead for g | |
| float | g |
| g contains an estimate of the distance from the start node to the current node | |
Protected Attributes | |
| int | _startNodeIndex |
| The starting node index for the path search. | |
LPAPathNodeHelper is a special PathNodeHelper class designed specifically for LPA* pathfinding http://idm-lab.org/project-a.html.
| RAIN.Path.LPAPathNodeHelper.LPAPathNodeHelper | ( | int | nodeIndex, |
| int | startNodeIndex | ||
| ) |
Constructor.
| nodeIndex | The node index of the path graph node represented |
| startNodeIndex | The index of the start node of the search |
| override int RAIN.Path.LPAPathNodeHelper.CompareTo | ( | PathGraph | graph, |
| PathNodeHelper | h | ||
| ) | [virtual] |
A comparison function comparing this node to a given pathnodehelper.
| graph | The graph traversed |
| h | The pathnodehelper to compare |
Reimplemented from RAIN.Path.PathNodeHelper.
int RAIN.Path.LPAPathNodeHelper._startNodeIndex [protected] |
The starting node index for the path search.
g contains an estimate of the distance from the start node to the current node
rhs will contain a one step lookahead for g