HOG2
|
#include <IDAStarCR.h>
Public Member Functions | |
IDAStarCR () | |
virtual | ~IDAStarCR () |
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 |
std::array< int, buckets > | bucketCount |
Definition at line 23 of file IDAStarCR.h.
|
inline |
Definition at line 25 of file IDAStarCR.h.
References IDAStarCR< state, action, buckets, verbose >::storedHeuristic.
|
inlinevirtual |
Definition at line 26 of file IDAStarCR.h.
|
private |
Definition at line 107 of file IDAStarCR.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 30 of file IDAStarCR.h.
References IDAStarCR< state, action, buckets, verbose >::nodesExpanded.
|
inline |
Definition at line 31 of file IDAStarCR.h.
References IDAStarCR< state, action, buckets, verbose >::nodesTouched.
void IDAStarCR< state, action, buckets, verbose >::GetPath | ( | SearchEnvironment< state, action > * | env, |
state | from, | ||
state | to, | ||
std::vector< action > & | thePath | ||
) |
Definition at line 54 of file IDAStarCR.h.
References SearchEnvironment< state, action >::GetActions(), SearchEnvironment< state, action >::GoalTest(), and verbose.
|
inline |
Definition at line 32 of file IDAStarCR.h.
References IDAStarCR< state, action, buckets, verbose >::nodesExpanded, and IDAStarCR< state, action, buckets, verbose >::nodesTouched.
|
inline |
Definition at line 33 of file IDAStarCR.h.
References IDAStarCR< state, action, buckets, verbose >::heuristic, and IDAStarCR< state, action, buckets, verbose >::storedHeuristic.
|
private |
Definition at line 47 of file IDAStarCR.h.
|
private |
Definition at line 50 of file IDAStarCR.h.
|
private |
Definition at line 43 of file IDAStarCR.h.
|
private |
Definition at line 44 of file IDAStarCR.h.
|
private |
Definition at line 48 of file IDAStarCR.h.
Referenced by IDAStarCR< state, action, buckets, verbose >::SetHeuristic().
|
private |
Definition at line 35 of file IDAStarCR.h.
Referenced by IDAStarCR< state, action, buckets, verbose >::GetNodesExpanded(), and IDAStarCR< state, action, buckets, verbose >::ResetNodeCount().
|
private |
Definition at line 35 of file IDAStarCR.h.
Referenced by IDAStarCR< state, action, buckets, verbose >::GetNodesTouched(), and IDAStarCR< state, action, buckets, verbose >::ResetNodeCount().
|
private |
Definition at line 49 of file IDAStarCR.h.
|
private |
Definition at line 45 of file IDAStarCR.h.
|
private |
Definition at line 43 of file IDAStarCR.h.
|
private |
Definition at line 46 of file IDAStarCR.h.
Referenced by IDAStarCR< state, action, buckets, verbose >::IDAStarCR(), and IDAStarCR< state, action, buckets, verbose >::SetHeuristic().