Class PathNode
Stores temporary node data for a single pathfinding request.
Every node has one PathNode per thread used. It stores e.g G score, H score and other temporary variables needed for path calculation, but which are not part of the graph structure.
Public Methods
Public Variables
F score.
G score, cost to get to this node.
H score, estimated cost to get to to the target.
Use as temporary flag during pathfinding.
Use as temporary flag during pathfinding.
Index of the node in the binary heap.
Reference to the actual graph node.
Parent node in the search tree.
The path request (in this thread, if multithreading is used) which last used this node.
Private/Protected Members
Cost uses the first 28 bits.
Flag 1 is at bit 28.
Flag 2 is at bit 29.
Bitpacked variable which stores several fields.
Backing field for the G score.
Backing field for the H score.