HOG2
|
This open/closed list is designed for state spaces where the hash is an index that is small enough that we can create a table for all indices. More...
#include <IndexOpenClosed.h>
Public Member Functions | |
IndexOpenClosedData () | |
IndexOpenClosedData (const state &theData, double gCost, double hCost, uint64_t parent, uint64_t openLoc, dataLocation location) | |
Public Attributes | |
state | data |
double | g |
double | h |
uint64_t | parentID |
uint64_t | openLocation |
uint64_t | round |
bool | reopened |
dataLocation | where |
This open/closed list is designed for state spaces where the hash is an index that is small enough that we can create a table for all indices.
This avoids the need for a hash table for looking up states - they can be looked up directly.
Definition at line 22 of file IndexOpenClosed.h.
|
inline |
Definition at line 24 of file IndexOpenClosed.h.
|
inline |
Definition at line 25 of file IndexOpenClosed.h.
References IndexOpenClosedData< state >::reopened.
state IndexOpenClosedData< state >::data |
Definition at line 27 of file IndexOpenClosed.h.
double IndexOpenClosedData< state >::g |
Definition at line 28 of file IndexOpenClosed.h.
Referenced by IndexCompare< state >::operator()().
double IndexOpenClosedData< state >::h |
Definition at line 29 of file IndexOpenClosed.h.
Referenced by IndexCompare< state >::operator()().
uint64_t IndexOpenClosedData< state >::openLocation |
Definition at line 31 of file IndexOpenClosed.h.
uint64_t IndexOpenClosedData< state >::parentID |
Definition at line 30 of file IndexOpenClosed.h.
bool IndexOpenClosedData< state >::reopened |
Definition at line 33 of file IndexOpenClosed.h.
Referenced by IndexOpenClosedData< state >::IndexOpenClosedData().
uint64_t IndexOpenClosedData< state >::round |
Definition at line 32 of file IndexOpenClosed.h.
dataLocation IndexOpenClosedData< state >::where |
Definition at line 34 of file IndexOpenClosed.h.