Fawkes API  Fawkes Development Version
fawkes::AStar::Cmp Struct Reference

Comparison structure to be used for the ordering on AStar::openList. More...

#include <>>

List of all members.

Public Member Functions

bool operator() (AStarState *a1, AStarState *a2) const
 The relation >= of this ordering.

Detailed Description

Comparison structure to be used for the ordering on AStar::openList.


Member Function Documentation

fawkes::AStar::Cmp::operator() ( AStarState a1,
AStarState a2 
) const [inline]

The relation >= of this ordering.

Parameters:
a1the left operand
a2the right operand
Returns:
true, if a1 <= b1, else false

Definition at line 47 of file astar.h.

References fawkes::AStarState::totalEstimatedCost.


The documentation for this struct was generated from the following files: