#include <pq.h>
Data Fields | |
int(* | cmp )(void **, void **) |
int | nitems |
int | maxitems |
void ** | bottom |
void ** | heap |
Definition at line 27 of file pq.h.
int(* pq::cmp)(void **, void **) |
compare two objects
Referenced by InitPQ(), ReheapDown(), ReheapUp(), and Replace().
int pq::nitems |
number of items in heap
Definition at line 29 of file pq.h.
Referenced by Delete(), InitPQ(), Insert(), NumElem(), ReheapDown(), ReheapUp(), Remove(), and Replace().
int pq::maxitems |
void** pq::bottom |
void** pq::heap |
pointer to the heap itself
Definition at line 32 of file pq.h.
Referenced by Delete(), Get(), GetI(), InitPQ(), ReheapDown(), ReheapUp(), Remove(), and Replace().