More work on max heap.
This commit is contained in:
parent
a25860a4ac
commit
829049ed3f
|
@ -66,8 +66,6 @@ static inline max_heap_t* initialize_max_heap_node_store(void *data);
|
|||
int initialize_max_heap_recursive_implementation(void **array, size_t index_start, size_t index_end, heap_node_t *root);
|
||||
/* This helper function is used to recursively fill a sorted array into a new heap. */
|
||||
max_heap_t* initialize_max_heap_recursive(void **array, size_t index_start, size_t index_end, max_heap_t *heap);
|
||||
/* This function creates a heap for a sorted array. */
|
||||
max_heap_t* initialize_max_heap(void **array, int length);
|
||||
/* This function combines two heaps into one - keeps the orignal ones. */
|
||||
max_heap_t* merge_max_heaps(max_heap_t *first_heap, max_heap_t *second_heap);
|
||||
/* This function combines two heaps into one - destroys the orignal ones. */
|
||||
|
|
Loading…
Reference in New Issue