HOG2
Public Member Functions | Public Attributes | Private Attributes | List of all members
BFS< state, action, environment > Class Template Reference

#include <BFS.h>

Public Member Functions

 BFS ()
 
virtual ~BFS ()
 
void DoBFS (environment *env, state from)
 
void GetPath (environment *env, state from, state to, std::vector< state > &thePath)
 
void SetNodeLimit (uint64_t value)
 
void ClearNodeLimit ()
 
void SetVerbose (bool v)
 
uint64_t GetNodesExpanded ()
 
uint64_t GetNodesTouched ()
 

Public Attributes

bool stopAtGoal
 

Private Attributes

bool verbose
 
uint64_t nodeLimit
 
uint64_t nodesExpanded
 
uint64_t nodesTouched
 

Detailed Description

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

Definition at line 21 of file BFS.h.

Constructor & Destructor Documentation

◆ BFS()

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

Definition at line 23 of file BFS.h.

◆ ~BFS()

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

Definition at line 24 of file BFS.h.

Member Function Documentation

◆ ClearNodeLimit()

template<class state , class action , class environment >
void BFS< state, action, environment >::ClearNodeLimit ( )
inline

Definition at line 30 of file BFS.h.

References BFS< state, action, environment >::nodeLimit.

◆ DoBFS()

template<class state , class action , class environment >
void BFS< state, action, environment >::DoBFS ( environment *  env,
state  from 
)

Definition at line 45 of file BFS.h.

◆ GetNodesExpanded()

template<class state , class action , class environment >
uint64_t BFS< state, action, environment >::GetNodesExpanded ( )
inline

Definition at line 32 of file BFS.h.

References BFS< state, action, environment >::nodesExpanded.

◆ GetNodesTouched()

template<class state , class action , class environment >
uint64_t BFS< state, action, environment >::GetNodesTouched ( )
inline

Definition at line 33 of file BFS.h.

References BFS< state, action, environment >::nodesTouched.

◆ GetPath()

template<class state , class action , class environment >
void BFS< state, action, environment >::GetPath ( environment *  env,
state  from,
state  to,
std::vector< state > &  thePath 
)

Definition at line 114 of file BFS.h.

References verbose.

◆ SetNodeLimit()

template<class state , class action , class environment >
void BFS< state, action, environment >::SetNodeLimit ( uint64_t  value)
inline

Definition at line 29 of file BFS.h.

References BFS< state, action, environment >::nodeLimit.

◆ SetVerbose()

template<class state , class action , class environment >
void BFS< state, action, environment >::SetVerbose ( bool  v)
inline

Definition at line 31 of file BFS.h.

References BFS< state, action, environment >::verbose.

Member Data Documentation

◆ nodeLimit

template<class state , class action , class environment >
uint64_t BFS< state, action, environment >::nodeLimit
private

◆ nodesExpanded

template<class state , class action , class environment >
uint64_t BFS< state, action, environment >::nodesExpanded
private

Definition at line 38 of file BFS.h.

Referenced by BFS< state, action, environment >::GetNodesExpanded().

◆ nodesTouched

template<class state , class action , class environment >
uint64_t BFS< state, action, environment >::nodesTouched
private

Definition at line 38 of file BFS.h.

Referenced by BFS< state, action, environment >::GetNodesTouched().

◆ stopAtGoal

template<class state , class action , class environment >
bool BFS< state, action, environment >::stopAtGoal

Definition at line 34 of file BFS.h.

◆ verbose

template<class state , class action , class environment >
bool BFS< state, action, environment >::verbose
private

Definition at line 36 of file BFS.h.

Referenced by BFS< state, action, environment >::SetVerbose().


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