HOG2
Public Member Functions | Private Attributes | List of all members
ClusterSearchEnvironment Class Reference
Inheritance diagram for ClusterSearchEnvironment:
Inheritance graph
[legend]
Collaboration diagram for ClusterSearchEnvironment:
Collaboration graph
[legend]

Public Member Functions

 ClusterSearchEnvironment (GraphAbstraction *_aMap, int _level)
 
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)
 
void setCorridor (std::vector< node * > &corr)
 
bool inCorridor (uint32_t nodeID)
 
- Public Member Functions inherited from OldSearchCode::SearchEnvironment
virtual ~SearchEnvironment ()
 
virtual bool goalTest (uint32_t node, uint32_t goal)
 

Private Attributes

GraphAbstractionaMap
 
int level
 
int corridorLevel
 
std::vector< node * > corridor
 

Detailed Description

Definition at line 20 of file ClusterAbstraction.cpp.

Constructor & Destructor Documentation

◆ ClusterSearchEnvironment()

ClusterSearchEnvironment::ClusterSearchEnvironment ( GraphAbstraction _aMap,
int  _level 
)
inline

Definition at line 23 of file ClusterAbstraction.cpp.

Member Function Documentation

◆ gcost()

double ClusterSearchEnvironment::gcost ( uint32_t  node1,
uint32_t  node2 
)
inlinevirtual

Implements OldSearchCode::SearchEnvironment.

Definition at line 43 of file ClusterAbstraction.cpp.

◆ getNeighbors()

void ClusterSearchEnvironment::getNeighbors ( uint32_t  nodeID,
std::vector< uint32_t > &  neighbors 
)
inlinevirtual

◆ heuristic()

double ClusterSearchEnvironment::heuristic ( uint32_t  node1,
uint32_t  node2 
)
inlinevirtual

Implements OldSearchCode::SearchEnvironment.

Definition at line 37 of file ClusterAbstraction.cpp.

◆ inCorridor()

bool ClusterSearchEnvironment::inCorridor ( uint32_t  nodeID)
inline

◆ setCorridor()

void ClusterSearchEnvironment::setCorridor ( std::vector< node * > &  corr)
inline

Member Data Documentation

◆ aMap

GraphAbstraction* ClusterSearchEnvironment::aMap
private

Definition at line 74 of file ClusterAbstraction.cpp.

◆ corridor

std::vector<node *> ClusterSearchEnvironment::corridor
private

Definition at line 77 of file ClusterAbstraction.cpp.

◆ corridorLevel

int ClusterSearchEnvironment::corridorLevel
private

Definition at line 76 of file ClusterAbstraction.cpp.

◆ level

int ClusterSearchEnvironment::level
private

Definition at line 75 of file ClusterAbstraction.cpp.


The documentation for this class was generated from the following file: