1 #ifndef _PRIORITYQUEUE2_H_
2 #define _PRIORITYQUEUE2_H_
13 namespace HybridAStar {
31 void push(
int prio, INTPOINT t);
37 static void initSqrIndices();
38 static std::vector<int> sqrIndices;
39 static int numBuckets;
43 std::vector<std::queue<INTPOINT> > buckets;
BucketPrioQueue()
Standard constructor.
Definition: bucketedqueue.cpp:13
bool empty()
Checks whether the Queue is empty.
Definition: bucketedqueue.cpp:26
void push(int prio, INTPOINT t)
push an element
Definition: bucketedqueue.cpp:31
Priority queue for integer coordinates with squared distances as priority.
Definition: bucketedqueue.h:20
INTPOINT pop()
return and pop the element with the lowest squared distance */
Definition: bucketedqueue.cpp:48