|
GClasses
|
Implements a simple priority queue of objects sorted by a double-precision value.
#include <GPriorityQueue.h>
Public Member Functions | |
| GSimplePriorityQueue () | |
| ~GSimplePriorityQueue () | |
| void | insert (T obj, double value) |
| T | peekObject () |
| double | peekValue () |
| void | pop () |
| size_t | size () |
Protected Attributes | |
| std::vector< T > | m_objects |
| std::vector< double > | m_values |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |