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

#include <HeuristicLearningMeasure.h>

Collaboration diagram for HeuristicLearningMeasure< state, action, environment >:
Collaboration graph
[legend]

Public Member Functions

double MeasureDifficultly (environment *env, const state &start, const state &goal)
 
void ShowHistogram ()
 
void OpenGLDraw (environment *env) const
 

Private Types

typedef std::unordered_map< uint64_t, stateData< state >, Hash64EnvironmentData
 

Private Member Functions

double SumLearningRequired ()
 
void BuildExactDistances (environment *env, const state &start, const state &goal)
 
double LookupGCost (state &s)
 
double LookupHCost (const state &s)
 
void ComputeRequiredLearning (environment *env, const state &start, const state &goal)
 
void ComputeConsistencyLearning (environment *env, const state &goal)
 

Private Attributes

EnvironmentData learnData
 
TemplateAStar< state, action, environment > astarStart
 
TemplateAStar< state, action, environment > astarGoal
 
std::vector< state > queue
 

Detailed Description

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

Definition at line 52 of file HeuristicLearningMeasure.h.

Member Typedef Documentation

◆ EnvironmentData

template<class state , class action , class environment >
typedef std::unordered_map<uint64_t, stateData<state>, Hash64 > HeuristicLearningMeasure< state, action, environment >::EnvironmentData
private

Definition at line 106 of file HeuristicLearningMeasure.h.

Member Function Documentation

◆ BuildExactDistances()

template<class state , class action , class environment >
void HeuristicLearningMeasure< state, action, environment >::BuildExactDistances ( environment *  env,
const state &  start,
const state &  goal 
)
inlineprivate

◆ ComputeConsistencyLearning()

template<class state , class action , class environment >
void HeuristicLearningMeasure< state, action, environment >::ComputeConsistencyLearning ( environment *  env,
const state &  goal 
)
inlineprivate

◆ ComputeRequiredLearning()

template<class state , class action , class environment >
void HeuristicLearningMeasure< state, action, environment >::ComputeRequiredLearning ( environment *  env,
const state &  start,
const state &  goal 
)
inlineprivate

◆ LookupGCost()

template<class state , class action , class environment >
double HeuristicLearningMeasure< state, action, environment >::LookupGCost ( state &  s)
inlineprivate

◆ LookupHCost()

template<class state , class action , class environment >
double HeuristicLearningMeasure< state, action, environment >::LookupHCost ( const state &  s)
inlineprivate

◆ MeasureDifficultly()

template<class state , class action , class environment >
double HeuristicLearningMeasure< state, action, environment >::MeasureDifficultly ( environment *  env,
const state &  start,
const state &  goal 
)
inline

◆ OpenGLDraw()

template<class state , class action , class environment >
void HeuristicLearningMeasure< state, action, environment >::OpenGLDraw ( environment *  env) const
inline

◆ ShowHistogram()

template<class state , class action , class environment >
void HeuristicLearningMeasure< state, action, environment >::ShowHistogram ( )
inline

◆ SumLearningRequired()

template<class state , class action , class environment >
double HeuristicLearningMeasure< state, action, environment >::SumLearningRequired ( )
inlineprivate

Member Data Documentation

◆ astarGoal

template<class state , class action , class environment >
TemplateAStar<state, action, environment> HeuristicLearningMeasure< state, action, environment >::astarGoal
private

◆ astarStart

template<class state , class action , class environment >
TemplateAStar<state, action, environment> HeuristicLearningMeasure< state, action, environment >::astarStart
private

◆ learnData

template<class state , class action , class environment >
EnvironmentData HeuristicLearningMeasure< state, action, environment >::learnData
private

◆ queue

template<class state , class action , class environment >
std::vector<state> HeuristicLearningMeasure< state, action, environment >::queue
private

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