HOG2
Public Member Functions | Private Attributes | List of all members
HeuristicLookupBuffer< state, Environment > Class Template Reference

#include <DelayedHeuristicAStar.h>

Public Member Functions

 HeuristicLookupBuffer ()
 
void Reset (Environment *env, const state &goal, unsigned int nodeLimit)
 
bool HitNodeLimit ()
 
void Add (state &s)
 
const std::vector< int > & Evaluate ()
 

Private Attributes

Environment * e
 
state goal
 
std::vector< state > states
 
std::vector< int > results
 
int nodeLimit
 

Detailed Description

template<class state, class Environment>
class HeuristicLookupBuffer< state, Environment >

Definition at line 19 of file DelayedHeuristicAStar.h.

Constructor & Destructor Documentation

◆ HeuristicLookupBuffer()

template<class state , class Environment >
HeuristicLookupBuffer< state, Environment >::HeuristicLookupBuffer ( )
inline

Definition at line 21 of file DelayedHeuristicAStar.h.

Member Function Documentation

◆ Add()

template<class state , class Environment >
void HeuristicLookupBuffer< state, Environment >::Add ( state &  s)
inline

Definition at line 37 of file DelayedHeuristicAStar.h.

◆ Evaluate()

template<class state , class Environment >
const std::vector<int>& HeuristicLookupBuffer< state, Environment >::Evaluate ( )
inline

Definition at line 42 of file DelayedHeuristicAStar.h.

◆ HitNodeLimit()

template<class state , class Environment >
bool HeuristicLookupBuffer< state, Environment >::HitNodeLimit ( )
inline

Definition at line 32 of file DelayedHeuristicAStar.h.

◆ Reset()

template<class state , class Environment >
void HeuristicLookupBuffer< state, Environment >::Reset ( Environment *  env,
const state &  goal,
unsigned int  nodeLimit 
)
inline

Definition at line 25 of file DelayedHeuristicAStar.h.

Member Data Documentation

◆ e

template<class state , class Environment >
Environment* HeuristicLookupBuffer< state, Environment >::e
private

◆ goal

template<class state , class Environment >
state HeuristicLookupBuffer< state, Environment >::goal
private

◆ nodeLimit

template<class state , class Environment >
int HeuristicLookupBuffer< state, Environment >::nodeLimit
private

◆ results

template<class state , class Environment >
std::vector<int> HeuristicLookupBuffer< state, Environment >::results
private

◆ states

template<class state , class Environment >
std::vector<state> HeuristicLookupBuffer< state, Environment >::states
private

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