HOG2
|
#include <OldSearchEnvironment.h>
Public Member Functions | |
GraphSearchEnvironment (Graph *_graph) | |
~GraphSearchEnvironment () | |
void | getNeighbors (uint32_t nodeID, std::vector< uint32_t > &neighbors) |
GraphSearchEnvironment. More... | |
double | heuristic (uint32_t node1, uint32_t node2) |
double | gcost (uint32_t node1, uint32_t node2) |
Public Member Functions inherited from OldSearchCode::SearchEnvironment | |
virtual | ~SearchEnvironment () |
virtual bool | goalTest (uint32_t node, uint32_t goal) |
Private Attributes | |
Graph * | g |
Definition at line 40 of file OldSearchEnvironment.h.
|
inline |
Definition at line 43 of file OldSearchEnvironment.h.
|
inline |
Definition at line 44 of file OldSearchEnvironment.h.
|
virtual |
Implements OldSearchCode::SearchEnvironment.
Definition at line 84 of file OldSearchEnvironment.cpp.
References heuristic().
|
virtual |
Implements OldSearchCode::SearchEnvironment.
Definition at line 66 of file OldSearchEnvironment.cpp.
References g, node::getNeighborIter(), Graph::GetNode(), and node::nodeNeighborNext().
|
virtual |
Implements OldSearchCode::SearchEnvironment.
Definition at line 76 of file OldSearchEnvironment.cpp.
References Graph::FindEdge(), g, and edge::GetWeight().
Referenced by gcost().
|
private |
Definition at line 49 of file OldSearchEnvironment.h.
Referenced by getNeighbors(), and heuristic().