HOG2
|
#include <HeuristicLearningMeasure.h>
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 >, Hash64 > | EnvironmentData |
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 |
Definition at line 52 of file HeuristicLearningMeasure.h.
|
private |
Definition at line 106 of file HeuristicLearningMeasure.h.
|
inlineprivate |
Definition at line 121 of file HeuristicLearningMeasure.h.
References HeuristicLearningMeasure< state, action, environment >::astarGoal, HeuristicLearningMeasure< state, action, environment >::astarStart, TemplateAStar< state, action, environment, openList >::InitializeSearch(), and TemplateAStar< state, action, environment, openList >::SetStopAfterGoal().
Referenced by HeuristicLearningMeasure< state, action, environment >::MeasureDifficultly().
|
inlineprivate |
Definition at line 215 of file HeuristicLearningMeasure.h.
References fgreater(), and HeuristicLearningMeasure< state, action, environment >::learnData.
Referenced by HeuristicLearningMeasure< state, action, environment >::MeasureDifficultly().
|
inlineprivate |
Definition at line 158 of file HeuristicLearningMeasure.h.
References HeuristicLearningMeasure< state, action, environment >::astarGoal, HeuristicLearningMeasure< state, action, environment >::astarStart, fequal(), HeuristicLearningMeasure< state, action, environment >::learnData, HeuristicLearningMeasure< state, action, environment >::LookupGCost(), and HeuristicLearningMeasure< state, action, environment >::LookupHCost().
Referenced by HeuristicLearningMeasure< state, action, environment >::MeasureDifficultly().
|
inlineprivate |
Definition at line 134 of file HeuristicLearningMeasure.h.
References HeuristicLearningMeasure< state, action, environment >::astarStart, TemplateAStar< state, action, environment, openList >::DoSingleSearchStep(), and TemplateAStar< state, action, environment, openList >::GetClosedListGCost().
Referenced by HeuristicLearningMeasure< state, action, environment >::ComputeRequiredLearning().
|
inlineprivate |
Definition at line 146 of file HeuristicLearningMeasure.h.
References HeuristicLearningMeasure< state, action, environment >::astarGoal, TemplateAStar< state, action, environment, openList >::DoSingleSearchStep(), and TemplateAStar< state, action, environment, openList >::GetClosedListGCost().
Referenced by HeuristicLearningMeasure< state, action, environment >::ComputeRequiredLearning().
|
inline |
Definition at line 54 of file HeuristicLearningMeasure.h.
References HeuristicLearningMeasure< state, action, environment >::BuildExactDistances(), HeuristicLearningMeasure< state, action, environment >::ComputeConsistencyLearning(), HeuristicLearningMeasure< state, action, environment >::ComputeRequiredLearning(), HeuristicLearningMeasure< state, action, environment >::learnData, HeuristicLearningMeasure< state, action, environment >::queue, and HeuristicLearningMeasure< state, action, environment >::SumLearningRequired().
|
inline |
Definition at line 83 of file HeuristicLearningMeasure.h.
References HeuristicLearningMeasure< state, action, environment >::learnData.
|
inline |
Definition at line 67 of file HeuristicLearningMeasure.h.
References HeuristicLearningMeasure< state, action, environment >::learnData.
|
inlineprivate |
Definition at line 108 of file HeuristicLearningMeasure.h.
References HeuristicLearningMeasure< state, action, environment >::learnData.
Referenced by HeuristicLearningMeasure< state, action, environment >::MeasureDifficultly().
|
private |
Definition at line 307 of file HeuristicLearningMeasure.h.
Referenced by HeuristicLearningMeasure< state, action, environment >::BuildExactDistances(), HeuristicLearningMeasure< state, action, environment >::ComputeRequiredLearning(), and HeuristicLearningMeasure< state, action, environment >::LookupHCost().
|
private |
Definition at line 306 of file HeuristicLearningMeasure.h.
Referenced by HeuristicLearningMeasure< state, action, environment >::BuildExactDistances(), HeuristicLearningMeasure< state, action, environment >::ComputeRequiredLearning(), and HeuristicLearningMeasure< state, action, environment >::LookupGCost().
|
private |
Definition at line 305 of file HeuristicLearningMeasure.h.
Referenced by HeuristicLearningMeasure< state, action, environment >::ComputeConsistencyLearning(), HeuristicLearningMeasure< state, action, environment >::ComputeRequiredLearning(), HeuristicLearningMeasure< state, action, environment >::MeasureDifficultly(), HeuristicLearningMeasure< state, action, environment >::OpenGLDraw(), HeuristicLearningMeasure< state, action, environment >::ShowHistogram(), and HeuristicLearningMeasure< state, action, environment >::SumLearningRequired().
|
private |
Definition at line 308 of file HeuristicLearningMeasure.h.
Referenced by HeuristicLearningMeasure< state, action, environment >::MeasureDifficultly().