Go to the source code of this file.
Data Structures | |
struct | MQHeap |
A binary heap of any type. More... | |
Typedefs | |
typedef MQHeap | MQHeap |
Functions | |
void | MQHeap_create (MQHeap *H, char *name, int size_of_heap, int size_of_element, int(*cmp_function)(void *node1, void *node2)) |
void | MQHeap_insert (MQHeap *H, void *newNode) |
int | MQHeap_heapifyUp (MQHeap *H, int pos) |
int | MQHeap_maxChild (MQHeap *H, int left, int right) |
int | MQHeap_heapifyDown (MQHeap *H, int pos) |
void | MQHeap_extractMax (MQHeap *H, void *max) |
void | MQHeap_print (MQHeap *H) |