void * BinaryHeap_extract_item(BinaryHeap h, int id)
int BinaryHeap_reset(BinaryHeap h, int id, void *item)
struct BinaryHeap_struct * BinaryHeap
int(* cmp)(void *item1, void *item2)
BinaryHeap BinaryHeap_new(int(*cmp)(void *item1, void *item2))
int BinaryHeap_insert(BinaryHeap h, void *item)
void BinaryHeap_sanity_check(BinaryHeap h)
void * BinaryHeap_extract_min(BinaryHeap h)
void * BinaryHeap_get_item(BinaryHeap h, int id)
void * BinaryHeap_get_min(BinaryHeap h)
void BinaryHeap_print(BinaryHeap h, void(*pnt)(void *))
void BinaryHeap_delete(BinaryHeap h, void(*del)(void *item))