#include <heap.h>
Public Member Functions | |
Heap () | |
Heap (type_t type) | |
int | insert (const heapkey_t *) |
heapkey_t | extract (const int) |
void | modify (const heapkey_t *) |
void | fix () |
~Heap () | |
Public Attributes | |
int | heap_length |
Private Attributes | |
heapkey_t * | heap |
int | data_length |
type_t | type |
Heap::Heap | ( | ) |
Heap::Heap | ( | type_t | type | ) |
Heap::~Heap | ( | ) |
heapkey_t Heap::extract | ( | const int | index | ) |
void Heap::fix | ( | ) |
int Heap::insert | ( | const heapkey_t * | key | ) |
void Heap::modify | ( | const heapkey_t * | key | ) |
|
private |
|
private |
int Heap::heap_length |
|
private |