#include <list.h>
Public Member Functions | |
CBucket (int first_priority, int max_bucketed_priority) | |
bool | empty () |
AbstractSearchState * | getminelement () |
int | getminpriority () |
void | insert (AbstractSearchState *AbstractSearchState1, int priority) |
void | makeemptybucketV () |
AbstractSearchState * | popminelement () |
void | remove (AbstractSearchState *AbstractSearchState1, int priorityattimeofinsertion) |
bool | reset (int first_priority, int max_bucketed_priority) |
~CBucket () | |
Public Attributes | |
vector< int > | assortedpriorityV |
vector< AbstractSearchState * > * | bucketV |
int | currentminelement_bucketind |
int | currentminelement_bucketVind |
int | currentminelement_priority |
int | firstpriority |
int | maxassortedpriorityVsize |
int | numofbuckets |
Private Member Functions | |
void | recomputeminelementupfrombucket (int startbucketindex) |
void | removestategivenbucketindex (AbstractSearchState *AbstractSearchState1, int bucketindex) |
CBucket::CBucket | ( | int | first_priority, |
int | max_bucketed_priority | ||
) | [inline] |
CBucket::~CBucket | ( | ) | [inline] |
bool CBucket::empty | ( | ) | [inline] |
AbstractSearchState* CBucket::getminelement | ( | ) | [inline] |
int CBucket::getminpriority | ( | ) | [inline] |
void CBucket::insert | ( | AbstractSearchState * | AbstractSearchState1, |
int | priority | ||
) | [inline] |
void CBucket::makeemptybucketV | ( | ) | [inline] |
AbstractSearchState* CBucket::popminelement | ( | ) | [inline] |
void CBucket::recomputeminelementupfrombucket | ( | int | startbucketindex | ) | [inline, private] |
void CBucket::remove | ( | AbstractSearchState * | AbstractSearchState1, |
int | priorityattimeofinsertion | ||
) | [inline] |
void CBucket::removestategivenbucketindex | ( | AbstractSearchState * | AbstractSearchState1, |
int | bucketindex | ||
) | [inline, private] |
bool CBucket::reset | ( | int | first_priority, |
int | max_bucketed_priority | ||
) | [inline] |