HOG2
|
#include <IBEX.h>
Classes | |
struct | costInterval |
struct | searchBounds |
Public Member Functions | |
IBEX (uint64_t minGrow, uint64_t maxGrow, double growthRate, bool exponential) | |
void | GetPath (environment *env, state from, state to, std::vector< action > &thePath) |
void | GetPath (environment *env, Heuristic< state > *heuristic, state from, state to, std::vector< action > &thePath) |
void | Dovetail (environment *env, Heuristic< state > *heuristic, state from, state to, std::vector< action > &thePath) |
double | RedoMinWork () |
uint64_t | GetNodesExpanded () |
uint64_t | GetNodesTouched () |
void | ResetNodeCount () |
Private Member Functions | |
IBEX< state, action, environment, DFS >::costInterval | LowLevelSearch (double costLimit, uint64_t nodeLimit, uint64_t &nodesUsed) |
double | GCost (const state &s1, const state &s2) |
double | GCost (const state &s, const action &a) |
double | HCost (const state &s) |
IBEX< state, action, environment, DFS >::costInterval | DFBNB (double costLimit, uint64_t nodeLimit, uint64_t &nodesUsed) |
IBEX< state, action, environment, DFS >::searchBounds | DFBNBHelper (state &currState, double pathCost, double costLimit, searchBounds &sd, uint64_t nodeLimit, action forbidden) |
IBEX< state, action, environment, DFS >::costInterval | BFHS (double costLimit, uint64_t nodeLimit, uint64_t &nodesUsed) |
void | ExtractPathToStartFromID (uint64_t node, std::vector< state > &thePath) |
Private Attributes | |
uint64_t | totalNodesExpanded |
uint64_t | totalNodesTouched |
Heuristic< state > * | h |
environment * | env |
std::vector< action > | solutionPath |
std::vector< action > | currPath |
double | solutionCost |
vectorCache< action > | actCache |
state | start |
state | goal |
uint64_t | c1 |
uint64_t | c2 |
double | gamma |
double | dfsLowerBound |
bool | oracle |
bool | exponentialGrowth |
AStarOpenClosed< state, BFHSCompare< state > > | q |
std::vector< state > | neighbors |
std::vector< uint64_t > | neighborID |
std::vector< double > | edgeCosts |
std::vector< dataLocation > | neighborLoc |
std::vector< state > | solutionStates |
|
inline |
|
private |
Definition at line 323 of file IBEX.h.
References debug_print, IBEX::IBEX< state, action, environment, DFS >::searchBounds::f_above, IBEX::IBEX< state, action, environment, DFS >::searchBounds::f_below, fgreater(), fgreatereq(), fless(), kClosedList, kNotFound, kOpenList, IBEX::IBEX< state, action, environment, DFS >::costInterval::lowerBound, max, min(), IBEX::IBEX< state, action, environment, DFS >::searchBounds::nodes, and IBEX::IBEX< state, action, environment, DFS >::costInterval::upperBound.
|
private |
Definition at line 191 of file IBEX.h.
References debug_print, IBEX::IBEX< state, action, environment, DFS >::searchBounds::f_above, IBEX::IBEX< state, action, environment, DFS >::searchBounds::f_below, fgreater(), fgreatereq(), IBEX::infiniteWorkBound, IBEX::IBEX< state, action, environment, DFS >::costInterval::lowerBound, IBEX::IBEX< state, action, environment, DFS >::searchBounds::nodes, and IBEX::IBEX< state, action, environment, DFS >::costInterval::upperBound.
|
private |
Definition at line 253 of file IBEX.h.
References IBEX::IBEX< state, action, environment, DFS >::searchBounds::f_above, IBEX::IBEX< state, action, environment, DFS >::searchBounds::f_below, fequal(), fgreater(), fgreatereq(), fless(), max, min(), and IBEX::IBEX< state, action, environment, DFS >::searchBounds::nodes.
void IBEX::IBEX< state, action, environment, DFS >::Dovetail | ( | environment * | env, |
Heuristic< state > * | heuristic, | ||
state | from, | ||
state | to, | ||
std::vector< action > & | thePath | ||
) |
Definition at line 502 of file IBEX.h.
References debug_print, flesseq(), IBEX::infiniteWorkBound, IBEX::IBEX< state, action, environment, DFS >::costInterval::lowerBound, max, min(), and IBEX::IBEX< state, action, environment, DFS >::costInterval::upperBound.
|
private |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inline |
void IBEX::IBEX< state, action, environment, DFS >::GetPath | ( | environment * | env, |
Heuristic< state > * | heuristic, | ||
state | from, | ||
state | to, | ||
std::vector< action > & | thePath | ||
) |
Definition at line 117 of file IBEX.h.
References debug_print, fequal(), fgreater(), IBEX::infiniteWorkBound, IBEX::IBEX< state, action, environment, DFS >::costInterval::lowerBound, max, and IBEX::IBEX< state, action, environment, DFS >::costInterval::upperBound.
void IBEX::IBEX< state, action, environment, DFS >::GetPath | ( | environment * | env, |
state | from, | ||
state | to, | ||
std::vector< action > & | thePath | ||
) |
|
inlineprivate |
|
private |
double IBEX::IBEX< state, action, environment, DFS >::RedoMinWork |
Definition at line 311 of file IBEX.h.
References debug_print.
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |