Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
Priority queue implemented as a binary heap. More...
#include <PriorityQueue.h>
Classes | |
struct | Item |
Public Member Functions | |
void | push (const Item &item) |
void | promote (ID id, R oldrank, R newrank, H newh) |
Item | pop () |
bool | empty () |
size_t | size () |
void | clear () |
Public Attributes | |
std::vector< Item > | m_Heap |
Priority queue implemented as a binary heap.
This is quite dreadfully slow in MSVC's debug STL implementation, so we shouldn't use it unless we reimplement the heap functions more efficiently.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
std::vector<Item> PriorityQueueHeap< ID, R, H, CMP >::m_Heap |