PPL Logo

maxHeap Class Reference
[Charm++ Load Balancing Framework]

#include <ckheap.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 48 of file ckheap.h.


Member Function Documentation

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

Definition at line 55 of file ckheap.h.

References h.

Referenced by deleteMax(), and insert().

Here is the caller graph for this function:


Field Documentation

heapRecord* maxHeap::h [private]

Definition at line 51 of file ckheap.h.

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

int maxHeap::count [private]

Definition at line 52 of file ckheap.h.

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

int maxHeap::size [private]

Definition at line 53 of file ckheap.h.

Referenced by insert(), and maxHeap().


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

Generated on Mon Sep 21 08:27:04 2020 for Charm++ by  doxygen 1.5.5