Helper class for the open list priority queue in the A* pathfinder to sort the pathfinder nodes by cost. More...
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.
|
private |
Referenced by PathfinderCompareHeuristic(), and operator()().