class ParaRacingRampUpParamSet (parameter set for racing ramp-up) More...
#include <paraRacingRampUpParamSet.h>
Public Member Functions | |
ParaRacingRampUpParamSet () | |
default constructor More... | |
ParaRacingRampUpParamSet (int inTerminationCriteria) | |
constructor More... | |
virtual | ~ParaRacingRampUpParamSet () |
destructor More... | |
int | getTerminationCriteria () |
get termination criteria More... | |
virtual void | setWinnerRank (int rank) |
set winner rank TODO: this function and also getWinnerRank should be removed More... | |
virtual int | send (ParaComm *comm, int destination)=0 |
send ParaRacingRampUpParamSet More... | |
virtual int | receive (ParaComm *comm, int source)=0 |
receive ParaRacingRampUpParamSet More... | |
virtual void | write (gzstream::ogzstream &out)=0 |
write to checkpoint file More... | |
virtual bool | read (ParaComm *comm, gzstream::igzstream &in)=0 |
read from checkpoint file More... | |
virtual const std::string | toString ()=0 |
stringfy ParaRacingRampUpParamSet More... | |
virtual int | getStrategy ()=0 |
get strategy More... | |
Protected Attributes | |
int | terminationCriteria |
termination criteria of racing ramp-up : 0: number of nodes left, 1: time limit meaning must be defined in a derived class More... | |
class ParaRacingRampUpParamSet (parameter set for racing ramp-up)
Definition at line 55 of file paraRacingRampUpParamSet.h.
default constructor
Definition at line 68 of file paraRacingRampUpParamSet.h.
ParaRacingRampUpParamSet | ( | int | inTerminationCriteria | ) |
constructor
inTerminationCriteria | termination criteria of racing ramp-up |
Definition at line 77 of file paraRacingRampUpParamSet.h.
|
virtual |
destructor
Definition at line 87 of file paraRacingRampUpParamSet.h.
|
pure virtual |
get strategy
Implemented in ScipParaRacingRampUpParamSet, and BbParaRacingRampUpParamSet.
Referenced by BbParaLoadCoordinator::run().
int getTerminationCriteria | ( | ) |
get termination criteria
Definition at line 96 of file paraRacingRampUpParamSet.h.
References ParaRacingRampUpParamSet::terminationCriteria.
|
pure virtual |
read from checkpoint file
comm | communicator used |
in | gzstream for input |
Implemented in BbParaRacingRampUpParamSet, and ScipParaRacingRampUpParamSet.
Referenced by BbParaLoadCoordinator::warmStart().
|
pure virtual |
receive ParaRacingRampUpParamSet
comm | communicator used |
source | source rank |
Implemented in BbParaRacingRampUpParamSet, ScipParaRacingRampUpParamSetMpi, and ScipParaRacingRampUpParamSetTh.
Referenced by main(), and BbParaSolver::processTagWinnerRacingRampUpParamSet().
|
pure virtual |
comm | communicator used |
destination | destination rank |
Implemented in BbParaRacingRampUpParamSet, ScipParaRacingRampUpParamSetMpi, and ScipParaRacingRampUpParamSetTh.
Referenced by BbParaLoadCoordinator::run(), and BbParaLoadCoordinator::warmStart().
|
virtual |
set winner rank TODO: this function and also getWinnerRank should be removed
Reimplemented in BbParaRacingRampUpParamSet.
Definition at line 106 of file paraRacingRampUpParamSet.h.
|
pure virtual |
stringfy ParaRacingRampUpParamSet
Implemented in ScipParaRacingRampUpParamSet, and BbParaRacingRampUpParamSet.
|
pure virtual |
write to checkpoint file
out | gzstream for output |
Implemented in ScipParaRacingRampUpParamSet, and BbParaRacingRampUpParamSet.
Referenced by BbParaLoadCoordinator::updateCheckpointFiles().
|
protected |
termination criteria of racing ramp-up : 0: number of nodes left, 1: time limit meaning must be defined in a derived class
Definition at line 60 of file paraRacingRampUpParamSet.h.
Referenced by ScipParaRacingRampUpParamSetMpi::createDatatype(), ScipParaRacingRampUpParamSetTh::createDatatype(), ParaRacingRampUpParamSet::getTerminationCriteria(), BbParaRacingRampUpParamSet::getTerminationCriteria(), ScipParaRacingRampUpParamSetMpi::receive(), ScipParaRacingRampUpParamSetTh::receive(), and ScipParaRacingRampUpParamSetMpi::send().