PPL Logo

RefinerApprox Class Reference

#include <RefinerApprox.h>

Inheritance diagram for RefinerApprox:

Inheritance graph
[legend]
Collaboration diagram for RefinerApprox:

Collaboration graph
[legend]

Public Member Functions

 RefinerApprox (double _overload)
 ~RefinerApprox ()
void Refine (int count, CentralLB::LDStats *stats, int *cur_p, int *new_p, int percentMoves=100)

Protected Member Functions

void create (int count, CentralLB::LDStats *stats, int *cur_p)
void reinitAssignment ()
virtual int refine (double opt)
void multirefine (int num_moves)
int getNumLargeComputes (double opt)
double getLargestCompute ()
int computeA (processorInfo *p, double opt)
int computeB (processorInfo *p, double opt)
int numMoves ()
void printStats (int newStats)
SetremoveBiggestSmallComputes (int num, processorInfo *p, double opt)
SetremoveBigComputes (int num, processorInfo *p, double opt)

Detailed Description

Definition at line 13 of file RefinerApprox.h.


Constructor & Destructor Documentation

RefinerApprox::RefinerApprox ( double  _overload  )  [inline]

Definition at line 15 of file RefinerApprox.h.

References Refiner::computes, Refiner::overLoad, and Refiner::processors.

RefinerApprox::~RefinerApprox (  )  [inline]

Definition at line 18 of file RefinerApprox.h.


Member Function Documentation

void RefinerApprox::Refine ( int  count,
CentralLB::LDStats stats,
int cur_p,
int new_p,
int  percentMoves = 100 
)

void RefinerApprox::create ( int  count,
CentralLB::LDStats stats,
int cur_p 
) [protected]

void RefinerApprox::reinitAssignment (  )  [protected]

int RefinerApprox::refine ( double  opt  )  [protected, virtual]

void RefinerApprox::multirefine ( int  num_moves  )  [protected]

int RefinerApprox::getNumLargeComputes ( double  opt  )  [protected]

Definition at line 248 of file RefinerApprox.C.

References c, Iterator::id, InfoRecord::load, Refiner::P, and Refiner::processors.

Referenced by refine().

double RefinerApprox::getLargestCompute (  )  [protected]

int RefinerApprox::computeA ( processorInfo p,
double  opt 
) [protected]

int RefinerApprox::computeB ( processorInfo p,
double  opt 
) [protected]

int RefinerApprox::numMoves (  )  [protected]

Definition at line 592 of file RefinerApprox.C.

References Refiner::computes, and Refiner::numComputes.

Referenced by multirefine(), and refine().

void RefinerApprox::printStats ( int  newStats  )  [protected]

Definition at line 696 of file RefinerApprox.C.

References Refiner::P, and Refiner::processors.

Referenced by Refine().

Set * RefinerApprox::removeBiggestSmallComputes ( int  num,
processorInfo p,
double  opt 
) [protected]

Set * RefinerApprox::removeBigComputes ( int  num,
processorInfo p,
double  opt 
) [protected]


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

Generated on Fri May 25 08:05:09 2012 for Charm++ by  doxygen 1.5.5