#include <dheap.h>
Classes | |
class | Item |
Public Member Functions | |
Item & | at (int i) |
void | clear () |
bool | isHeap () |
T & | max () |
T & | min () |
T & | operator[] (int i) |
T * | popMax () |
T * | popMin () |
T * | push (T *t) |
void | push_back (T *t) |
void | rebuild () |
void | resize (int n) |
int | size () |
Private Attributes | |
DHeap< Item > | heap |
Same functionality as IHeap, but storing pointers instead of the objects