#include <AStarSearch.h>
Public Member Functions | |
bool | operator() (const AStarNode *x, const AStarNode *y) const |
Definition at line 215 of file AStarSearch.h.
bool AStarSearch< UserState >::HeapCompare::operator() | ( | const AStarNode * | x, | |
const AStarNode * | y | |||
) | const [inline] |
Definition at line 219 of file AStarSearch.h.
References AStarSearch< UserState >::AStarNode::getTotalCost().
00220 { 00221 /* 00222 if ( fabs( x->getTotalCost () - y->getTotalCost () ) < 0.01 ) 00223 return true; 00224 */ 00225 00226 return x->getTotalCost() > y->getTotalCost(); 00227 }