maxHeap Class Reference
[Charm++ Load Balancing Framework]

#include <heap.h>

Collaboration diagram for maxHeap:

Collaboration graph
[legend]

Public Member Functions

 maxHeap (int size)
 ~maxHeap ()
int numElements ()
int insert (InfoRecord *)
InfoRecorddeleteMax ()
InfoRecorditerator (heapIterator *)
InfoRecordnext (heapIterator *)

Private Member Functions

void swap (int i, int j)

Private Attributes

heapRecordh
int count
int size

Detailed Description

Definition at line 61 of file heap.h.


Member Function Documentation

void maxHeap::swap ( int  i,
int  j 
) [inline, private]

Definition at line 68 of file heap.h.

References h.

Referenced by deleteMax(), and insert().


Field Documentation

heapRecord* maxHeap::h [private]

Definition at line 64 of file heap.h.

Referenced by deleteMax(), insert(), iterator(), maxHeap(), next(), swap(), and ~maxHeap().

int maxHeap::count [private]

Definition at line 65 of file heap.h.

Referenced by deleteMax(), insert(), iterator(), maxHeap(), next(), and numElements().

int maxHeap::size [private]

Definition at line 66 of file heap.h.

Referenced by insert(), and maxHeap().


The documentation for this class was generated from the following files:
Generated on Sun Jun 29 13:34:11 2008 for Charm++ by  doxygen 1.5.1