ScummVM API documentation
QDEngine::AIAStar< Heuristic, TypeH > Class Template Reference

Classes

struct  OnePoint
 

Public Types

typedef Common::MultiMap< TypeH, Vect2itype_point_map
 

Public Member Functions

void init (int dx, int dy)
 
bool findPath (Vect2i from, Heuristic *h, Std::vector< Vect2i > &path, int directions_count=8)
 
void getStatistic (int *num_point_examine, int *num_find_erase)
 
OnePointgetInternalBuffer ()
 
int getUsedNum ()
 

Protected Member Functions

void clear ()
 
Vect2i posBy (OnePoint *p)
 

Protected Attributes

int _dx
 
int _dy
 
OnePoint_chart
 
type_point_map _open_map
 
int _is_used_num
 
int _num_point_examine
 
int _num_find_erase
 
Heuristic * _heuristic
 

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