AStarSearch< UserState >::HeapCompare Class Reference

#include <AStarSearch.h>

List of all members.

Public Member Functions

bool operator() (const AStarNode *x, const AStarNode *y) const


Detailed Description

template<class UserState>
class AStarSearch< UserState >::HeapCompare

Definition at line 215 of file AStarSearch.h.


Member Function Documentation

template<class UserState>
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                         }


The documentation for this class was generated from the following file:
Generated on Sun Jun 25 19:23:43 2006 for Valors End by  doxygen 1.4.7