HOG2
|
#include <SFIDAStar.h>
Public Member Functions | |
SFIDAStar () | |
virtual | ~SFIDAStar () |
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 () |
Private Member Functions | |
double | DoIteration (SearchEnvironment< state, action > *env, state &currState, state &goalState, action forbiddenForwardAction, bool validForward, action forbiddenBackAction, bool validBack, std::vector< action > &thePath, double bound, double g) |
bool | ShouldSearchForward1 (SearchEnvironment< state, action > *env, state &currState, state &goalState, double gCost, double bound) |
bool | ShouldSearchForward2 (SearchEnvironment< state, action > *env, state &currState, state &goalState, double gCost, double bound) |
void | UpdateNextBound (double currBound, double fCost) |
Private Attributes | |
unsigned long | nodesExpanded |
unsigned long | nodesTouched |
double | nextBound |
Definition at line 21 of file SFIDAStar.h.
Definition at line 23 of file SFIDAStar.h.
|
inlinevirtual |
Definition at line 24 of file SFIDAStar.h.
|
private |
Definition at line 77 of file SFIDAStar.h.
References SearchEnvironment< state, action >::ApplyAction(), fequal(), fgreater(), SearchEnvironment< state, action >::GCost(), SearchEnvironment< state, action >::GetActions(), SearchEnvironment< state, action >::GoalTest(), SearchEnvironment< state, action >::HCost(), and SearchEnvironment< state, action >::InvertAction().
|
inline |
Definition at line 30 of file SFIDAStar.h.
References SFIDAStar< state, action >::nodesExpanded.
|
inline |
Definition at line 31 of file SFIDAStar.h.
References SFIDAStar< state, action >::nodesTouched.
void SFIDAStar< state, action >::GetPath | ( | SearchEnvironment< state, action > * | env, |
state | from, | ||
state | to, | ||
std::vector< action > & | thePath | ||
) |
Definition at line 59 of file SFIDAStar.h.
References SearchEnvironment< state, action >::GetActions(), and SearchEnvironment< state, action >::HCost().
void SFIDAStar< state, action >::GetPath | ( | SearchEnvironment< state, action > * | env, |
state | from, | ||
state | to, | ||
std::vector< state > & | thePath | ||
) |
Definition at line 51 of file SFIDAStar.h.
|
inline |
Definition at line 32 of file SFIDAStar.h.
References SFIDAStar< state, action >::nodesExpanded, and SFIDAStar< state, action >::nodesTouched.
|
private |
Definition at line 154 of file SFIDAStar.h.
References SearchEnvironment< state, action >::GetNumSuccessors().
|
private |
Definition at line 199 of file SFIDAStar.h.
References SearchEnvironment< state, action >::ApplyAction(), SearchEnvironment< state, action >::GCost(), SearchEnvironment< state, action >::GetActions(), SearchEnvironment< state, action >::HCost(), and SearchEnvironment< state, action >::InvertAction().
|
private |
Definition at line 260 of file SFIDAStar.h.
References fgreater(), and fless().
|
private |
Definition at line 47 of file SFIDAStar.h.
|
private |
Definition at line 34 of file SFIDAStar.h.
Referenced by SFIDAStar< state, action >::GetNodesExpanded(), and SFIDAStar< state, action >::ResetNodeCount().
|
private |
Definition at line 34 of file SFIDAStar.h.
Referenced by SFIDAStar< state, action >::GetNodesTouched(), and SFIDAStar< state, action >::ResetNodeCount().