Data Structures UFC
1.0.0
Essential Data Structures for C language
|
Go to the source code of this file.
Data Structures | |
struct | PQueue |
Priority Queue Data Structure. Like a normal queue about push/pop logic, but each individual now heave a weight. A inner heap implementation it's provided. More... | |
Typedefs | |
typedef struct PQueue | PQueue |
Functions | |
PQueue * | pqueue_create () |
void | pqueue_insert (PQueue *pq, int x) |
int | pqueue_extract_max (PQueue *pq) |
void | pqueue_increase_keys (PQueue *pq, int k, int v) |
int | pqueue_maximum (PQueue *pq) |
void | pqueue_free (PQueue *pq) |
void | pqueue_print (PQueue *pq) |
void | pqueue_println (PQueue *pq) |
PQueue* pqueue_create | ( | ) |
int pqueue_extract_max | ( | PQueue * | pq | ) |
void pqueue_free | ( | PQueue * | pq | ) |
void pqueue_increase_keys | ( | PQueue * | pq, |
int | k, | ||
int | v | ||
) |
void pqueue_insert | ( | PQueue * | pq, |
int | x | ||
) |
int pqueue_maximum | ( | PQueue * | pq | ) |
void pqueue_print | ( | PQueue * | pq | ) |
void pqueue_println | ( | PQueue * | pq | ) |