Helper class for the open list priority queue in the A* pathfinder to sort the pathfinder nodes by cost. More...
Collaboration diagram for PathfinderCompareHeuristic:Public Member Functions | |
| PathfinderCompareHeuristic (Pathfinder *pf) | |
| bool | operator() (v3s16 pos1, v3s16 pos2) |
Private Attributes | |
| Pathfinder * | myPathfinder |
Helper class for the open list priority queue in the A* pathfinder to sort the pathfinder nodes by cost.
|
inline |
References myPathfinder.
References PathGridnode::estimated_cost, Pathfinder::getIndexElement(), Pathfinder::getIndexPos(), myPathfinder, and PathGridnode::valid.
Here is the call graph for this function:
|
private |
Referenced by PathfinderCompareHeuristic(), and operator()().