GreedyCommLB Class Reference
[Charm++ Load Balancing Framework]

#include <GreedyCommLB.h>

Inheritance diagram for GreedyCommLB:

Inheritance graph
[legend]
Collaboration diagram for GreedyCommLB:

Collaboration graph
[legend]

Public Member Functions

 GreedyCommLB (const CkLBOptions &)
 GreedyCommLB (CkMigrateMessage *m)
void pup (PUP::er &p)
CmiBool QueryBalanceNow (int step)
void work (BaseLB::LDStats *stats, int count)

Data Fields

int nobj
int npe
int nmigobj
intassigned_array
processorInfoprocessors
graphobject_graph

Private Member Functions

void init ()
void alloc (int pe, int id, double load)
double compute_com (int id, int pe)
void add_graph (int x, int y, int data, int nmsg)
void update (int id, int pe)

Private Attributes

BaseLB::LDStatsstats
double alpha
double beeta

Detailed Description

Definition at line 35 of file GreedyCommLB.h.


Member Function Documentation

void GreedyCommLB::pup ( PUP::er p  )  [inline, virtual]

Reimplemented from CentralLB.

Definition at line 43 of file GreedyCommLB.h.

References p, and CentralLB::pup().


Field Documentation

int GreedyCommLB::nobj

Definition at line 37 of file GreedyCommLB.h.

Referenced by compute_com(), update(), and work().

int GreedyCommLB::npe

Definition at line 37 of file GreedyCommLB.h.

Referenced by work().

int GreedyCommLB::nmigobj

Definition at line 37 of file GreedyCommLB.h.

Referenced by work().

int* GreedyCommLB::assigned_array

Definition at line 38 of file GreedyCommLB.h.

Referenced by alloc(), compute_com(), update(), and work().

processorInfo* GreedyCommLB::processors

Definition at line 39 of file GreedyCommLB.h.

Referenced by alloc(), update(), and work().

graph* GreedyCommLB::object_graph

Definition at line 40 of file GreedyCommLB.h.

Referenced by add_graph(), compute_com(), update(), and work().

BaseLB::LDStats* GreedyCommLB::stats [private]

Definition at line 53 of file GreedyCommLB.h.

double GreedyCommLB::alpha [private]

Definition at line 54 of file GreedyCommLB.h.

Referenced by compute_com(), init(), and update().

double GreedyCommLB::beeta [private]

Definition at line 54 of file GreedyCommLB.h.

Referenced by compute_com(), init(), and update().


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