Searched refs:binary_heap_t (Results 1 – 1 of 1) sorted by relevance
104 } binary_heap_t; typedef186 static inline uint32_t heap_smaller(binary_heap_t * heap, uint32_t i, in heap_smaller()193 static void heap_exchange(binary_heap_t * heap, uint32_t i, uint32_t j) in heap_exchange()209 static uint32_t heap_up(binary_heap_t * heap, uint32_t i) in heap_up()228 static uint32_t heap_down(binary_heap_t * heap, uint32_t i) in heap_down()265 static inline void heap_heapify(binary_heap_t * heap, uint32_t i) in heap_heapify()272 binary_heap_t ** binheap) in heap_create()274 binary_heap_t *heap = NULL; in heap_create()278 heap = (binary_heap_t *) malloc(sizeof(binary_heap_t)); in heap_create()305 static vertex_t *heap_getmin(binary_heap_t * heap) in heap_getmin()[all …]