C Everything
This is a C repository containing a curated set of generic data structures and algorithm.
|
Heap struct defn. More...
#include <heap.h>
Data Fields | |
char * | name |
Stack instance name. More... | |
int | count |
Total elems present in heap. More... | |
int | size |
Max Size of heap. More... | |
e_heaptype | type |
Stack Type. More... | |
t_gen * | data |
Ptr to array based heap. More... | |
f_ins | insert |
routine to insert elements in heap More... | |
f_gen | extract |
routine to extract min/max root element in heap More... | |
f_vgen | build |
routine to heapify More... | |
f_vgen | sort |
routine to heap sort More... | |
f_update | update |
routine to update a key of given heap node More... | |
f_len | len |
routine to get heap len More... | |
f_full | full |
routine to check if heap full More... | |
f_empty | empty |
routine to check if heap empty More... | |
f_print | |
routine to print heap info More... | |
f_destroy | destroy |
routine to destroy More... | |
f_cmpr | cmpr |
f_cmp_idx | cmpr_idx |
f_cpy_idx | copy_idx |
f_swp_idx | swap_idx |
f_get_idx | get_idx |
f_print | print_data |
e_heaptype type |