Graphviz  2.41.20171026.1811
Data Structures | Typedefs | Functions
PriorityQueue.h File Reference
#include "LinkedList.h"
Include dependency graph for PriorityQueue.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  PriorityQueue_struct
 

Typedefs

typedef struct
PriorityQueue_struct
PriorityQueue
 

Functions

PriorityQueue PriorityQueue_new (int n, int ngain)
 
void PriorityQueue_delete (PriorityQueue q)
 
PriorityQueue PriorityQueue_push (PriorityQueue q, int i, int gain)
 
int PriorityQueue_pop (PriorityQueue q, int *i, int *gain)
 
int PriorityQueue_remove (PriorityQueue q, int i)
 
int PriorityQueue_get_gain (PriorityQueue q, int i)
 

Typedef Documentation

Definition at line 27 of file PriorityQueue.h.

Function Documentation

void PriorityQueue_delete ( PriorityQueue  q)
int PriorityQueue_get_gain ( PriorityQueue  q,
int  i 
)

Definition at line 125 of file PriorityQueue.c.

References PriorityQueue_struct::gain.

PriorityQueue PriorityQueue_new ( int  n,
int  ngain 
)
int PriorityQueue_pop ( PriorityQueue  q,
int i,
int gain 
)
PriorityQueue PriorityQueue_push ( PriorityQueue  q,
int  i,
int  gain 
)
int PriorityQueue_remove ( PriorityQueue  q,
int  i 
)