HOG2
|
#include <EDAStar.h>
Public Member Functions | |
EDAStar (double growthFactor) | |
virtual | ~EDAStar () |
void | GetPath (SearchEnvironment< state, action > *env, state from, state to, std::vector< action > &thePath) |
uint64_t | GetNodesExpanded () |
uint64_t | GetNodesTouched () |
void | ResetNodeCount () |
void | SetHeuristic (Heuristic< state > *heur) |
Private Member Functions | |
void | DoIteration (SearchEnvironment< state, action > *env, action forbiddenAction, state &currState, std::vector< action > &thePath, double bound, double g) |
Private Attributes | |
unsigned long long | nodesExpanded |
unsigned long long | nodesTouched |
state | start |
state | goal |
double | growth |
double | solutionCost |
bool | storedHeuristic |
vectorCache< action > | actCache |
Heuristic< state > * | heuristic |
std::vector< action > | solution |
|
inline |
Definition at line 25 of file EDAStar.h.
References EDAStar< state, action, verbose >::storedHeuristic.
|
private |
Definition at line 111 of file EDAStar.h.
References SearchEnvironment< state, action >::ApplyAction(), fgreater(), fless(), SearchEnvironment< state, action >::GCost(), SearchEnvironment< state, action >::GetActions(), SearchEnvironment< state, action >::GetPathLength(), SearchEnvironment< state, action >::GoalTest(), SearchEnvironment< state, action >::InvertAction(), and SearchEnvironment< state, action >::UndoAction().
|
inline |
Definition at line 32 of file EDAStar.h.
References EDAStar< state, action, verbose >::nodesExpanded.
|
inline |
Definition at line 33 of file EDAStar.h.
References EDAStar< state, action, verbose >::nodesTouched.
void EDAStar< state, action, verbose >::GetPath | ( | SearchEnvironment< state, action > * | env, |
state | from, | ||
state | to, | ||
std::vector< action > & | thePath | ||
) |
Definition at line 79 of file EDAStar.h.
References SearchEnvironment< state, action >::GetActions(), SearchEnvironment< state, action >::GoalTest(), and verbose.
|
inline |
Definition at line 34 of file EDAStar.h.
References EDAStar< state, action, verbose >::nodesExpanded, and EDAStar< state, action, verbose >::nodesTouched.
|
inline |
Definition at line 35 of file EDAStar.h.
References EDAStar< state, action, verbose >::heuristic, and EDAStar< state, action, verbose >::storedHeuristic.
|
private |
|
private |
Definition at line 50 of file EDAStar.h.
Referenced by EDAStar< state, action, verbose >::SetHeuristic().
|
private |
Definition at line 37 of file EDAStar.h.
Referenced by EDAStar< state, action, verbose >::GetNodesExpanded(), and EDAStar< state, action, verbose >::ResetNodeCount().
|
private |
Definition at line 37 of file EDAStar.h.
Referenced by EDAStar< state, action, verbose >::GetNodesTouched(), and EDAStar< state, action, verbose >::ResetNodeCount().
|
private |
Definition at line 48 of file EDAStar.h.
Referenced by EDAStar< state, action, verbose >::EDAStar(), and EDAStar< state, action, verbose >::SetHeuristic().