#include <MCandidateHeapList.hpp>
Collaboration diagram for MCandidateHeapList:
Purpose: Sorted List like described in Sethian/Kimmel FMMs
@ Copyrights: Bernard De Cuyper & Eddy Fraiha 2003, Eggs & Pictures. MIT/Open BSD copyright model.
Public Methods | |
MCandidateHeapList (int maxData) | |
~MCandidateHeapList () | |
bool | isEmpty () |
bool | isFull () |
int | numberOfData () |
MPsi2DValue * | getTop () |
MPsi2DValue * | get (int i) |
void | insertData (MPsi2DValue *data) |
void | removeFirstValue () |
void | updateData (MPsi2DValue *data) |
void | output () |
Protected Methods | |
void | reorderUp (int key) |
void | reorderDown (int key) |
void | reorder (int akey) |
Private Attributes | |
int | nmax |
int | n |
MPsi2DValue ** | heap |