#include <scipParaRacingRampUpParamSetTh.h>
Public Member Functions | |
ScipParaRacingRampUpParamSetTh () | |
ScipParaRacingRampUpParamSetTh (int inTerminationCriteria, int inNNodesLeft, double inTimeLimit, int inScipRacingParamSeed, int inPermuteProbSeed, int inGenerateBranchOrderSeed, ScipDiffParamSet *inScipDiffParamSet) | |
~ScipParaRacingRampUpParamSetTh () | |
int | send (UG::ParaComm *comm, int dest) |
int | receive (UG::ParaComm *comm, int source) |
Public Member Functions inherited from ScipParaRacingRampUpParamSet | |
ScipParaRacingRampUpParamSet () | |
ScipParaRacingRampUpParamSet (int inTerminationCriteria, int inNNodesLeft, double inTimeLimit, int inScipRacingParamSeed, int inPermuteProbSeed, int inGenerateBranchOrderSeed, ScipDiffParamSet *inScipDiffParamSet) | |
virtual | ~ScipParaRacingRampUpParamSet () |
int | getPermuteProbSeed () |
int | getGenerateBranchOrderSeed () |
ScipDiffParamSet * | getScipDiffParamSet () |
int | getScipRacingParamSeed () |
void | write (gzstream::ogzstream &out) |
bool | read (UG::ParaComm *comm, gzstream::igzstream &in) |
const std::string | toString () |
int | getStrategy () |
Public Member Functions inherited from BbParaRacingRampUpParamSet | |
BbParaRacingRampUpParamSet () | |
default constructor More... | |
BbParaRacingRampUpParamSet (int inTerminationCriteria, int inNNodesLeft, double inTimeLimit) | |
constructor More... | |
virtual | ~BbParaRacingRampUpParamSet () |
destructor More... | |
int | getTerminationCriteria () |
get termination criteria More... | |
int | getStopRacingNNodesLeft () |
get stop racing number of nodes left More... | |
double | getStopRacingTimeLimit () |
get stop racing time limimt 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 BbParaRacingRampUpParamSet More... | |
virtual int | receive (ParaComm *comm, int source)=0 |
receive BbParaRacingRampUpParamSet 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 BbParaRacingRampUpParamSet More... | |
virtual int | getStrategy ()=0 |
get strategy More... | |
Public Member Functions inherited from ParaRacingRampUpParamSet | |
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... | |
Private Member Functions | |
ScipParaRacingRampUpParamSetTh * | createDatatype () |
Additional Inherited Members | |
Protected Attributes inherited from ScipParaRacingRampUpParamSet | |
int | scipRacingParamSeed |
int | permuteProbSeed |
int | generateBranchOrderSeed |
int | scipDiffParamSetInfo |
ScipDiffParamSet * | scipDiffParamSet |
Protected Attributes inherited from BbParaRacingRampUpParamSet | |
int | nNodesLeft |
stop racing number of nodes left More... | |
double | timeLimit |
stop racing time limit More... | |
Protected Attributes inherited from ParaRacingRampUpParamSet | |
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... | |
The difference between instance and subproblem: this is base class
Definition at line 48 of file scipParaRacingRampUpParamSetTh.h.
default constructor
Definition at line 56 of file scipParaRacingRampUpParamSetTh.h.
Referenced by ScipParaRacingRampUpParamSetTh::createDatatype().
ScipParaRacingRampUpParamSetTh | ( | int | inTerminationCriteria, |
int | inNNodesLeft, | ||
double | inTimeLimit, | ||
int | inScipRacingParamSeed, | ||
int | inPermuteProbSeed, | ||
int | inGenerateBranchOrderSeed, | ||
ScipDiffParamSet * | inScipDiffParamSet | ||
) |
Constructor
Definition at line 62 of file scipParaRacingRampUpParamSetTh.h.
destructor
Definition at line 76 of file scipParaRacingRampUpParamSetTh.h.
|
private |
create ScipParaRacingRampUpParamSet datatype
create Datatype
Definition at line 46 of file scipParaRacingRampUpParamSetTh.cpp.
References ScipDiffParamSetTh::clone(), ScipParaRacingRampUpParamSet::generateBranchOrderSeed, BbParaRacingRampUpParamSet::nNodesLeft, ScipParaRacingRampUpParamSet::permuteProbSeed, ScipParaRacingRampUpParamSet::scipDiffParamSet, ScipParaRacingRampUpParamSet::scipDiffParamSetInfo, ScipParaRacingRampUpParamSetTh::ScipParaRacingRampUpParamSetTh(), ScipParaRacingRampUpParamSet::scipRacingParamSeed, ParaRacingRampUpParamSet::terminationCriteria, and BbParaRacingRampUpParamSet::timeLimit.
Referenced by ScipParaRacingRampUpParamSetTh::send().
|
virtual |
Implements BbParaRacingRampUpParamSet.
Definition at line 94 of file scipParaRacingRampUpParamSetTh.cpp.
References ScipDiffParamSetTh::clone(), comm, DEF_SCIP_PARA_COMM, ScipParaRacingRampUpParamSet::generateBranchOrderSeed, BbParaRacingRampUpParamSet::nNodesLeft, PARA_COMM_CALL, UG::ParaRacingRampUpParamType, ScipParaRacingRampUpParamSet::permuteProbSeed, ScipParaRacingRampUpParamSet::scipDiffParamSet, ScipParaRacingRampUpParamSet::scipDiffParamSetInfo, ScipParaRacingRampUpParamSet::scipRacingParamSeed, UG::TagRacingRampUpParamSet, ParaRacingRampUpParamSet::terminationCriteria, and BbParaRacingRampUpParamSet::timeLimit.
|
virtual |
Implements BbParaRacingRampUpParamSet.
Definition at line 78 of file scipParaRacingRampUpParamSetTh.cpp.
References comm, ScipParaRacingRampUpParamSetTh::createDatatype(), DEF_SCIP_PARA_COMM, PARA_COMM_CALL, UG::ParaRacingRampUpParamType, and UG::TagRacingRampUpParamSet.