HOG2
|
#include <OldSearchEnvironment.h>
Public Member Functions | |
MapSearchEnvironment (Map *_map) | |
~MapSearchEnvironment () | |
void | getNeighbors (uint32_t nodeID, std::vector< uint32_t > &neighbors) |
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 | |
Map * | map |
Definition at line 28 of file OldSearchEnvironment.h.
|
inline |
Definition at line 31 of file OldSearchEnvironment.h.
|
inline |
Definition at line 32 of file OldSearchEnvironment.h.
|
virtual |
Implements OldSearchCode::SearchEnvironment.
Definition at line 47 of file OldSearchEnvironment.cpp.
References heuristic().
|
virtual |
Implements OldSearchCode::SearchEnvironment.
Definition at line 14 of file OldSearchEnvironment.cpp.
References Map::GetTerrainType(), kGround, and map.
|
virtual |
Implements OldSearchCode::SearchEnvironment.
Definition at line 52 of file OldSearchEnvironment.cpp.
References ROOT_TWO.
Referenced by gcost().
|
private |
Definition at line 37 of file OldSearchEnvironment.h.
Referenced by getNeighbors().