HOG2
|
#include <FrontierBFS.h>
Public Member Functions | |
FrontierBFS () | |
virtual | ~FrontierBFS () |
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) |
void | InitializeSearch (SearchEnvironment< state, action > *env, state &from) |
void | InitializeSearch (SearchEnvironment< state, action > *env, std::vector< state > &from) |
bool | DoOneIteration (SearchEnvironment< state, action > *env) |
const FrontierBFSClosedList & | GetCurrentClosedList () |
uint64_t | GetNodesExpanded () |
uint64_t | GetNodesTouched () |
Private Member Functions | |
void | ExpandLevel (SearchEnvironment< state, action > *env, std::deque< state > ¤tOpenList, FrontierBFSClosedList ¤tClosedList, std::deque< state > &nextOpenList, FrontierBFSClosedList &lastClosedList) |
Private Attributes | |
uint64_t | nodesExpanded |
uint64_t | nodesTouched |
int | depth |
std::deque< state > | mOpen1 |
std::deque< state > | mOpen2 |
FrontierBFSClosedList | mClosed1 |
FrontierBFSClosedList | mClosed2 |
Definition at line 21 of file FrontierBFS.h.
|
inline |
Definition at line 23 of file FrontierBFS.h.
|
inlinevirtual |
Definition at line 24 of file FrontierBFS.h.
bool FrontierBFS< state, action >::DoOneIteration | ( | SearchEnvironment< state, action > * | env | ) |
Definition at line 94 of file FrontierBFS.h.
Referenced by ArmToArmCompressedHeuristic::BuildHeuristic(), and ArmToArmCompressedHeuristic::SetupGoal().
|
private |
Definition at line 159 of file FrontierBFS.h.
References SearchEnvironment< state, action >::GetStateHash(), and SearchEnvironment< state, action >::GetSuccessors().
|
inline |
Definition at line 34 of file FrontierBFS.h.
References FrontierBFS< state, action >::mClosed1, FrontierBFS< state, action >::mClosed2, FrontierBFS< state, action >::mOpen1, and FrontierBFS< state, action >::mOpen2.
Referenced by ArmToArmCompressedHeuristic::BuildHeuristic(), and ArmToArmCompressedHeuristic::SetupGoal().
|
inline |
Definition at line 41 of file FrontierBFS.h.
References FrontierBFS< state, action >::nodesExpanded.
|
inline |
Definition at line 42 of file FrontierBFS.h.
References FrontierBFS< state, action >::nodesTouched.
void FrontierBFS< state, action >::GetPath | ( | SearchEnvironment< state, action > * | env, |
state & | from, | ||
state & | to, | ||
std::vector< action > & | thePath | ||
) |
Definition at line 200 of file FrontierBFS.h.
void FrontierBFS< state, action >::GetPath | ( | SearchEnvironment< state, action > * | env, |
state & | from, | ||
state & | to, | ||
std::vector< state > & | thePath | ||
) |
Definition at line 125 of file FrontierBFS.h.
void FrontierBFS< state, action >::InitializeSearch | ( | SearchEnvironment< state, action > * | env, |
state & | from | ||
) |
Definition at line 63 of file FrontierBFS.h.
Referenced by ArmToArmCompressedHeuristic::BuildHeuristic(), and ArmToArmCompressedHeuristic::SetupGoal().
void FrontierBFS< state, action >::InitializeSearch | ( | SearchEnvironment< state, action > * | env, |
std::vector< state > & | from | ||
) |
Definition at line 78 of file FrontierBFS.h.
|
private |
Definition at line 53 of file FrontierBFS.h.
|
private |
Definition at line 57 of file FrontierBFS.h.
Referenced by FrontierBFS< state, action >::GetCurrentClosedList().
|
private |
Definition at line 58 of file FrontierBFS.h.
Referenced by FrontierBFS< state, action >::GetCurrentClosedList().
|
private |
Definition at line 55 of file FrontierBFS.h.
Referenced by FrontierBFS< state, action >::GetCurrentClosedList().
|
private |
Definition at line 56 of file FrontierBFS.h.
Referenced by FrontierBFS< state, action >::GetCurrentClosedList().
|
private |
Definition at line 52 of file FrontierBFS.h.
Referenced by FrontierBFS< state, action >::GetNodesExpanded().
|
private |
Definition at line 52 of file FrontierBFS.h.
Referenced by FrontierBFS< state, action >::GetNodesTouched().