Angel 3.2
A 2D Game Prototyping Engine
Classes | Public Types | Public Member Functions | List of all members
AStarSearch< UserState > Class Template Reference

Classes

class  HeapCompare_f
 
class  Node
 

Public Types

enum  {
  SEARCH_STATE_NOT_INITIALISED, SEARCH_STATE_SEARCHING, SEARCH_STATE_SUCCEEDED, SEARCH_STATE_FAILED,
  SEARCH_STATE_OUT_OF_MEMORY, SEARCH_STATE_INVALID
}
 

Public Member Functions

int GetState ()
 
void CancelSearch ()
 
void SetStartAndGoalStates (UserState &Start, UserState &Goal)
 
unsigned int SearchStep ()
 
bool AddSuccessor (UserState &State)
 
void FreeSolutionNodes ()
 
UserState * GetSolutionStart ()
 
UserState * GetSolutionNext ()
 
UserState * GetSolutionEnd ()
 
UserState * GetSolutionPrev ()
 
UserState * GetOpenListStart ()
 
UserState * GetOpenListStart (float &f, float &g, float &h)
 
UserState * GetOpenListNext ()
 
UserState * GetOpenListNext (float &f, float &g, float &h)
 
UserState * GetClosedListStart ()
 
UserState * GetClosedListStart (float &f, float &g, float &h)
 
UserState * GetClosedListNext ()
 
UserState * GetClosedListNext (float &f, float &g, float &h)
 
int GetStepCount ()
 
void EnsureMemoryFreed ()
 

Detailed Description

template<class UserState>
class AStarSearch< UserState >

Definition at line 53 of file stlastar.h.


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