HOG2
|
#include <FocalOpenClosed.h>
Public Member Functions | |
FocalOpenClosed () | |
~FocalOpenClosed () | |
void | Reset (uint64_t maxKey=0) |
uint64_t | AddOpenNode (const state &val, uint64_t hash, double f, double g, double h, uint64_t parent=kTAStarNoNode) |
uint64_t | AddClosedNode (state &val, uint64_t hash, double f, double g, double h, uint64_t parent=kTAStarNoNode) |
void | KeyChanged (uint64_t objKey) |
dataLocation | Lookup (uint64_t hashKey, uint64_t &objKey) const |
dataStructure & | Lookup (uint64_t objKey) |
const dataStructure & | Lookat (uint64_t objKey) const |
void | Remove (uint64_t hash) |
uint64_t | PeekOpen () const |
uint64_t | PeekFocal () const |
uint64_t | Close (uint64_t objKey) |
void | Reopen (uint64_t objKey) |
uint64_t | GetOpenItem (unsigned int which) |
size_t | OpenSize () const |
uint64_t | GetOpenItem (unsigned int which) |
size_t | FocalSize () const |
size_t | ClosedSize () const |
size_t | size () const |
Private Attributes | |
Treap | open |
Heap | focal |
Definition at line 38 of file FocalOpenClosed.h.
focalOpenClosed::FocalOpenClosed< state, CmpKey, dataStructure >::FocalOpenClosed | ( | ) |
focalOpenClosed::FocalOpenClosed< state, CmpKey, dataStructure >::~FocalOpenClosed | ( | ) |
uint64_t focalOpenClosed::FocalOpenClosed< state, CmpKey, dataStructure >::AddClosedNode | ( | state & | val, |
uint64_t | hash, | ||
double | f, | ||
double | g, | ||
double | h, | ||
uint64_t | parent = kTAStarNoNode |
||
) |
uint64_t focalOpenClosed::FocalOpenClosed< state, CmpKey, dataStructure >::AddOpenNode | ( | const state & | val, |
uint64_t | hash, | ||
double | f, | ||
double | g, | ||
double | h, | ||
uint64_t | parent = kTAStarNoNode |
||
) |
uint64_t focalOpenClosed::FocalOpenClosed< state, CmpKey, dataStructure >::Close | ( | uint64_t | objKey | ) |
size_t focalOpenClosed::FocalOpenClosed< state, CmpKey, dataStructure >::ClosedSize | ( | ) | const |
size_t focalOpenClosed::FocalOpenClosed< state, CmpKey, dataStructure >::FocalSize | ( | ) | const |
uint64_t focalOpenClosed::FocalOpenClosed< state, CmpKey, dataStructure >::GetOpenItem | ( | unsigned int | which | ) |
uint64_t focalOpenClosed::FocalOpenClosed< state, CmpKey, dataStructure >::GetOpenItem | ( | unsigned int | which | ) |
void focalOpenClosed::FocalOpenClosed< state, CmpKey, dataStructure >::KeyChanged | ( | uint64_t | objKey | ) |
|
inline |
Definition at line 48 of file FocalOpenClosed.h.
dataLocation focalOpenClosed::FocalOpenClosed< state, CmpKey, dataStructure >::Lookup | ( | uint64_t | hashKey, |
uint64_t & | objKey | ||
) | const |
|
inline |
Definition at line 47 of file FocalOpenClosed.h.
size_t focalOpenClosed::FocalOpenClosed< state, CmpKey, dataStructure >::OpenSize | ( | ) | const |
uint64_t focalOpenClosed::FocalOpenClosed< state, CmpKey, dataStructure >::PeekFocal | ( | ) | const |
uint64_t focalOpenClosed::FocalOpenClosed< state, CmpKey, dataStructure >::PeekOpen | ( | ) | const |
void focalOpenClosed::FocalOpenClosed< state, CmpKey, dataStructure >::Remove | ( | uint64_t | hash | ) |
void focalOpenClosed::FocalOpenClosed< state, CmpKey, dataStructure >::Reopen | ( | uint64_t | objKey | ) |
void focalOpenClosed::FocalOpenClosed< state, CmpKey, dataStructure >::Reset | ( | uint64_t | maxKey = 0 | ) |
size_t focalOpenClosed::FocalOpenClosed< state, CmpKey, dataStructure >::size | ( | ) | const |
|
private |
Definition at line 63 of file FocalOpenClosed.h.
|
private |
Definition at line 62 of file FocalOpenClosed.h.