HOG2
|
#include <DFID.h>
Public Member Functions | |
DFID () | |
virtual | ~DFID () |
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 () |
void | ResetNodeCount () |
void | SetUseBDPathMax (bool val) |
Private Member Functions | |
bool | DoIteration (SearchEnvironment< state, action > *env, state parent, state currState, std::vector< state > &thePath, double bound, double g) |
bool | DoIteration (SearchEnvironment< state, action > *env, action forbiddenAction, state &currState, std::vector< action > &thePath, double bound, double g) |
void | UpdateNextBound (double currBound, double gCost) |
Private Attributes | |
unsigned long | nodesExpanded |
unsigned long | nodesTouched |
state | goal |
double | nextBound |
NodeHashTable | nodeTable |
bool | usePathMax |
bool | useHashTable |
Definition at line 23 of file DFID.h.
References DFID< state, action >::useHashTable, and DFID< state, action >::usePathMax.
|
private |
Definition at line 137 of file DFID.h.
References SearchEnvironment< state, action >::ApplyAction(), fgreater(), SearchEnvironment< state, action >::GCost(), SearchEnvironment< state, action >::GetActions(), and SearchEnvironment< state, action >::InvertAction().
|
private |
Definition at line 102 of file DFID.h.
References fgreater(), SearchEnvironment< state, action >::GCost(), and SearchEnvironment< state, action >::GetSuccessors().
|
inline |
Definition at line 30 of file DFID.h.
References DFID< state, action >::nodesExpanded.
|
inline |
Definition at line 31 of file DFID.h.
References DFID< state, action >::nodesTouched.
void DFID< state, action >::GetPath | ( | SearchEnvironment< state, action > * | env, |
state | from, | ||
state | to, | ||
std::vector< action > & | thePath | ||
) |
Definition at line 76 of file DFID.h.
References fequal(), and SearchEnvironment< state, action >::GetActions().
void DFID< state, action >::GetPath | ( | SearchEnvironment< state, action > * | env, |
state | from, | ||
state | to, | ||
std::vector< state > & | thePath | ||
) |
|
inline |
Definition at line 32 of file DFID.h.
References DFID< state, action >::nodesExpanded, and DFID< state, action >::nodesTouched.
|
inline |
Definition at line 33 of file DFID.h.
References DFID< state, action >::usePathMax.
|
private |
Definition at line 181 of file DFID.h.
References fgreater(), and fless().
|
private |
|
private |
|
private |
Definition at line 35 of file DFID.h.
Referenced by DFID< state, action >::GetNodesExpanded(), and DFID< state, action >::ResetNodeCount().
|
private |
Definition at line 35 of file DFID.h.
Referenced by DFID< state, action >::GetNodesTouched(), and DFID< state, action >::ResetNodeCount().
|
private |
|
private |
Definition at line 49 of file DFID.h.
Referenced by DFID< state, action >::DFID().
|
private |
Definition at line 48 of file DFID.h.
Referenced by DFID< state, action >::DFID(), and DFID< state, action >::SetUseBDPathMax().