Deep RTS
Public Member Functions | List of all members
JPS::Internal::Searcher< GRID > Class Template Reference

#include <JPS.h>

Inheritance diagram for JPS::Internal::Searcher< GRID >:
JPS::Internal::SearcherBase

Public Member Functions

 Searcher (const GRID &g, void *user=0)
 
template<typename PV >
bool findPath (PV &path, Position start, Position end, unsigned step, JPS_Flags flags=JPS_Flag_Default)
 
JPS_Result findPathInit (Position start, Position end, JPS_Flags flags=JPS_Flag_Default)
 
JPS_Result findPathStep (int limit)
 
template<typename PV >
JPS_Result findPathFinish (PV &path, unsigned step) const
 
- Public Member Functions inherited from JPS::Internal::SearcherBase
template<typename PV >
JPS_Result generatePath (PV &path, unsigned step) const
 
void freeMemory ()
 
SizeT getStepsDone () const
 
SizeT getNodesExpanded () const
 
SizeT getTotalMemoryInUse () const
 

Additional Inherited Members

- Protected Member Functions inherited from JPS::Internal::SearcherBase
 SearcherBase (void *user)
 
void clear ()
 
void _expandNode (const Position jp, Node &jn, const Node &parent)
 
- Protected Attributes inherited from JPS::Internal::SearcherBase
Storage storage
 
OpenList open
 
NodeMap nodemap
 
Position endPos
 
SizeT endNodeIdx
 
JPS_Flags flags
 
int stepsRemain
 
SizeT stepsDone
 

Constructor & Destructor Documentation

◆ Searcher()

template<typename GRID >
JPS::Internal::Searcher< GRID >::Searcher ( const GRID &  g,
void *  user = 0 
)
inline

Member Function Documentation

◆ findPath()

template<typename GRID >
template<typename PV >
bool JPS::Internal::Searcher< GRID >::findPath ( PV &  path,
Position  start,
Position  end,
unsigned  step,
JPS_Flags  flags = JPS_Flag_Default 
)

◆ findPathFinish()

template<typename GRID >
template<typename PV >
JPS_Result JPS::Internal::Searcher< GRID >::findPathFinish ( PV &  path,
unsigned  step 
) const

◆ findPathInit()

template<typename GRID >
JPS_Result JPS::Internal::Searcher< GRID >::findPathInit ( Position  start,
Position  end,
JPS_Flags  flags = JPS_Flag_Default 
)

◆ findPathStep()

template<typename GRID >
JPS_Result JPS::Internal::Searcher< GRID >::findPathStep ( int  limit)

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