#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) |
Definition at line 187 of file list.h.
CBucket::CBucket | ( | int | first_priority, | |
int | max_bucketed_priority | |||
) | [inline] |
AbstractSearchState* CBucket::getminelement | ( | ) | [inline] |
void CBucket::insert | ( | AbstractSearchState * | AbstractSearchState1, | |
int | priority | |||
) | [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] |
vector<int> CBucket::assortedpriorityV |
vector<AbstractSearchState *>* CBucket::bucketV |