15 #define PQUEUE_SIZE 10 18 #define HEAP_EMPTY_CELL -1 int pqueue_extract_max(PQueue *pq)
Priority Queue Data Structure. Like a normal queue about push/pop logic, but each individual now heav...
Definition: pqueue.h:26
int pqueue_maximum(PQueue *pq)
void pqueue_print(PQueue *pq)
void pqueue_increase_keys(PQueue *pq, int k, int v)
void pqueue_free(PQueue *pq)
int heap[PQUEUE_SIZE]
Definition: pqueue.h:27
void pqueue_insert(PQueue *pq, int x)
void pqueue_println(PQueue *pq)
int size
Definition: pqueue.h:28