Main Page | Data Structures | Directories | File List | Globals

mqheap.h File Reference

A file that includes the definitions and functions to manipulate a binary heap. More...

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)


Detailed Description

A file that includes the definitions and functions to manipulate a binary heap.

Author:
Kyriacos C. Leptos
Date:
2005-11-29
Details.
Generated on Tue Feb 7 03:25:44 2006 for libmqbasic by  doxygen 1.4.4