altEngine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | Private Attributes | List of all members
Heap Class Reference

#include <heap.h>

Collaboration diagram for Heap:
Collaboration graph
[legend]

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_theap
 
int data_length
 
type_t type
 

Constructor & Destructor Documentation

Heap::Heap ( )
Heap::Heap ( type_t  type)
Heap::~Heap ( )

Member Function Documentation

heapkey_t Heap::extract ( const int  index)

Here is the call graph for this function:

void Heap::fix ( )

Here is the caller graph for this function:

int Heap::insert ( const heapkey_t key)

Here is the call graph for this function:

void Heap::modify ( const heapkey_t key)

Here is the call graph for this function:

Member Data Documentation

int Heap::data_length
private
heapkey_t* Heap::heap
private
int Heap::heap_length
type_t Heap::type
private

The documentation for this class was generated from the following files: