HOG2
|
#include <DFS.h>
Public Member Functions | |
DFS () | |
virtual | ~DFS () |
void | GetPath (SearchEnvironment< state, action > *env, state from, state to, std::vector< state > &thePath) |
void | GetPath (SearchEnvironment< state, action > *env, state from, state to, std::vector< action > &thePath) |
uint64_t | GetNodesExpanded () |
uint64_t | GetNodesTouched () |
Private Types | |
typedef std::unordered_map< uint64_t, bool, Hash64 > | DFSClosedList |
Private Member Functions | |
void | DoIteration (SearchEnvironment< state, action > *env, state parent, state currState, std::vector< state > &thePath, double bound, double g) |
void | DoIteration (SearchEnvironment< state, action > *env, action forbiddenAction, state &currState, std::vector< action > &thePath, double bound, double g) |
Private Attributes | |
unsigned long | nodesExpanded |
unsigned long | nodesTouched |
double | nextBound |
std::deque< state > | mOpen |
std::deque< int > | depth |
|
private |
|
private |
Definition at line 103 of file DFS.h.
References SearchEnvironment< state, action >::ApplyAction(), SearchEnvironment< state, action >::GCost(), SearchEnvironment< state, action >::GetActions(), and SearchEnvironment< state, action >::InvertAction().
|
private |
Definition at line 74 of file DFS.h.
References SearchEnvironment< state, action >::GCost(), and SearchEnvironment< state, action >::GetSuccessors().
|
inline |
Definition at line 28 of file DFS.h.
References DFS< state, action >::nodesExpanded.
|
inline |
Definition at line 29 of file DFS.h.
References DFS< state, action >::nodesTouched.
void DFS< state, action >::GetPath | ( | SearchEnvironment< state, action > * | env, |
state | from, | ||
state | to, | ||
std::vector< action > & | thePath | ||
) |
Definition at line 60 of file DFS.h.
References SearchEnvironment< state, action >::GetActions().
void DFS< state, action >::GetPath | ( | SearchEnvironment< state, action > * | env, |
state | from, | ||
state | to, | ||
std::vector< state > & | thePath | ||
) |
|
private |
|
private |
|
private |
|
private |
Definition at line 40 of file DFS.h.
Referenced by DFS< state, action >::GetNodesExpanded().
|
private |
Definition at line 40 of file DFS.h.
Referenced by DFS< state, action >::GetNodesTouched().