SpherePackingScenarioGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
algorithms::ls::Heap Class Reference

#include <Heap.h>

Collaboration diagram for algorithms::ls::Heap:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void change (int i)
void checkindex ()
void downHeap (int k)
int extractmax ()
int getIndex (int j)
SpheregetSphere ()
 Heap (int maxsize)
 Heap (const Heap &h)
void insert (int i)
void print ()
void replace (int i)
int search (int j)
void setSphere (Sphere *s)
void upHeap (int k)
 ~Heap ()

Private Attributes

int * a
int * index
int maxsize
int N
Spheres

Detailed Description

Class Heap : Event Heap used in hard spheres calculation


Constructor & Destructor Documentation

algorithms::ls::Heap::Heap ( int  maxsize)

Constructor

Constructor

Destructor


Member Function Documentation

Change

Check index array

DownHeap

Insert

Insert

Print

replace

Serach

upHeap


Member Data Documentation

int* algorithms::ls::Heap::a [private]

Array of events

array of indices for each sphere

max allowed number of events

int algorithms::ls::Heap::N [private]

current number of events


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines