Deep RTS
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
JPS::Internal::SearcherBase Class Reference

#include <JPS.h>

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

Public Member Functions

template<typename PV >
JPS_Result generatePath (PV &path, unsigned step) const
 
void freeMemory ()
 
SizeT getStepsDone () const
 
SizeT getNodesExpanded () const
 
SizeT getTotalMemoryInUse () const
 

Protected Member Functions

 SearcherBase (void *user)
 
void clear ()
 
void _expandNode (const Position jp, Node &jn, const Node &parent)
 

Protected Attributes

Storage storage
 
OpenList open
 
NodeMap nodemap
 
Position endPos
 
SizeT endNodeIdx
 
JPS_Flags flags
 
int stepsRemain
 
SizeT stepsDone
 

Constructor & Destructor Documentation

◆ SearcherBase()

JPS::Internal::SearcherBase::SearcherBase ( void *  user)
inlineprotected

Member Function Documentation

◆ _expandNode()

void JPS::Internal::SearcherBase::_expandNode ( const Position  jp,
Node jn,
const Node parent 
)
inlineprotected

◆ clear()

void JPS::Internal::SearcherBase::clear ( )
inlineprotected

◆ freeMemory()

void JPS::Internal::SearcherBase::freeMemory ( )
inline

◆ generatePath()

template<typename PV >
JPS_Result JPS::Internal::SearcherBase::generatePath ( PV &  path,
unsigned  step 
) const

◆ getNodesExpanded()

SizeT JPS::Internal::SearcherBase::getNodesExpanded ( ) const
inline

◆ getStepsDone()

SizeT JPS::Internal::SearcherBase::getStepsDone ( ) const
inline

◆ getTotalMemoryInUse()

SizeT JPS::Internal::SearcherBase::getTotalMemoryInUse ( ) const
inline

Member Data Documentation

◆ endNodeIdx

SizeT JPS::Internal::SearcherBase::endNodeIdx
protected

◆ endPos

Position JPS::Internal::SearcherBase::endPos
protected

◆ flags

JPS_Flags JPS::Internal::SearcherBase::flags
protected

◆ nodemap

NodeMap JPS::Internal::SearcherBase::nodemap
protected

◆ open

OpenList JPS::Internal::SearcherBase::open
protected

◆ stepsDone

SizeT JPS::Internal::SearcherBase::stepsDone
protected

◆ stepsRemain

int JPS::Internal::SearcherBase::stepsRemain
protected

◆ storage

Storage JPS::Internal::SearcherBase::storage
protected

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