38 #ifndef _PRIORITYQUEUE2_H_ 39 #define _PRIORITYQUEUE2_H_ 71 void push(
int prio, T t);
87 #include "bucketedqueue.hxx"
Priority queue for integer coordinates with squared distances as priority.
BucketPrioQueue()
Standard constructor.
void push(int prio, T t)
push an element
bool empty()
Checks whether the Queue is empty.
T pop()
return and pop the element with the lowest squared distance */
std::map< int, std::queue< T > > BucketType
BucketType::iterator nextPop