#include <util.h>
Data Fields | |
| void ** | arr |
| Array contining the data. | |
| int | count |
| Number of elements. | |
| int | size |
| Length of array. | |
| int(* | compare )(void *e1, void *e2) |
| Comparison function. | |
A priority queue allows quick retrieval of the smallest element of a set (This implementation uses O(log n) time). This implementation uses a heap for storing the queue.
1.4.4