HOG2
Public Member Functions | List of all members
GenericSearchAlgorithm< state, action, environment > Class Template Referenceabstract

#include <GenericSearchAlgorithm.h>

Inheritance diagram for GenericSearchAlgorithm< state, action, environment >:
Inheritance graph
[legend]

Public Member Functions

 GenericSearchAlgorithm ()
 
virtual ~GenericSearchAlgorithm ()
 
virtual void GetPath (environment *env, const state &from, const state &to, std::vector< state > &path)=0
 
virtual void GetPath (environment *env, const state &from, const state &to, std::vector< action > &path)=0
 
virtual bool InitializeSearch (environment *env, const state &from, const state &to, std::vector< state > &thePath)
 
virtual bool DoSingleSearchStep (std::vector< state > &thePath)
 
virtual const char * GetName ()=0
 
virtual uint64_t GetNodesExpanded () const =0
 
virtual uint64_t GetNodesTouched () const =0
 
virtual void LogFinalStats (StatCollection *stats)=0
 
virtual void OpenGLDraw () const
 
virtual void OpenGLDraw (const environment *env) const
 

Detailed Description

template<class state, class action, class environment>
class GenericSearchAlgorithm< state, action, environment >

Definition at line 35 of file GenericSearchAlgorithm.h.

Constructor & Destructor Documentation

◆ GenericSearchAlgorithm()

template<class state , class action , class environment >
GenericSearchAlgorithm< state, action, environment >::GenericSearchAlgorithm ( )
inline

Definition at line 38 of file GenericSearchAlgorithm.h.

◆ ~GenericSearchAlgorithm()

template<class state , class action , class environment >
virtual GenericSearchAlgorithm< state, action, environment >::~GenericSearchAlgorithm ( )
inlinevirtual

Definition at line 39 of file GenericSearchAlgorithm.h.

Member Function Documentation

◆ DoSingleSearchStep()

template<class state , class action , class environment >
virtual bool GenericSearchAlgorithm< state, action, environment >::DoSingleSearchStep ( std::vector< state > &  thePath)
inlinevirtual

◆ GetName()

template<class state , class action , class environment >
virtual const char* GenericSearchAlgorithm< state, action, environment >::GetName ( )
pure virtual

◆ GetNodesExpanded()

template<class state , class action , class environment >
virtual uint64_t GenericSearchAlgorithm< state, action, environment >::GetNodesExpanded ( ) const
pure virtual

◆ GetNodesTouched()

template<class state , class action , class environment >
virtual uint64_t GenericSearchAlgorithm< state, action, environment >::GetNodesTouched ( ) const
pure virtual

◆ GetPath() [1/2]

template<class state , class action , class environment >
virtual void GenericSearchAlgorithm< state, action, environment >::GetPath ( environment *  env,
const state &  from,
const state &  to,
std::vector< action > &  path 
)
pure virtual

◆ GetPath() [2/2]

template<class state , class action , class environment >
virtual void GenericSearchAlgorithm< state, action, environment >::GetPath ( environment *  env,
const state &  from,
const state &  to,
std::vector< state > &  path 
)
pure virtual

◆ InitializeSearch()

template<class state , class action , class environment >
virtual bool GenericSearchAlgorithm< state, action, environment >::InitializeSearch ( environment *  env,
const state &  from,
const state &  to,
std::vector< state > &  thePath 
)
inlinevirtual

◆ LogFinalStats()

template<class state , class action , class environment >
virtual void GenericSearchAlgorithm< state, action, environment >::LogFinalStats ( StatCollection stats)
pure virtual

◆ OpenGLDraw() [1/2]

template<class state , class action , class environment >
virtual void GenericSearchAlgorithm< state, action, environment >::OpenGLDraw ( ) const
inlinevirtual

◆ OpenGLDraw() [2/2]

template<class state , class action , class environment >
virtual void GenericSearchAlgorithm< state, action, environment >::OpenGLDraw ( const environment *  env) const
inlinevirtual

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