Scippy

UG

Ubiquity Generator framework

ScipParaRacingRampUpParamSetMpi Class Reference

#include <scipParaRacingRampUpParamSetMpi.h>

Inheritance diagram for ScipParaRacingRampUpParamSetMpi:
ScipParaRacingRampUpParamSet BbParaRacingRampUpParamSet ParaRacingRampUpParamSet

Public Member Functions

 ScipParaRacingRampUpParamSetMpi ()
 
 ScipParaRacingRampUpParamSetMpi (int inTerminationCriteria, int inNNodesLeft, double inTimeLimit, int inScipRacingParamSeed, int inPermuteProbSeed, int inGenerateBranchOrderSeed, ScipDiffParamSet *inScipDiffParamSet)
 
 ~ScipParaRacingRampUpParamSetMpi ()
 
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 ()
 
ScipDiffParamSetgetScipDiffParamSet ()
 
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

MPI_Datatype createDatatype ()
 

Additional Inherited Members

- Protected Attributes inherited from ScipParaRacingRampUpParamSet
int scipRacingParamSeed
 
int permuteProbSeed
 
int generateBranchOrderSeed
 
int scipDiffParamSetInfo
 
ScipDiffParamSetscipDiffParamSet
 
- 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...
 

Detailed Description

The difference between instance and subproblem: this is base class

Definition at line 49 of file scipParaRacingRampUpParamSetMpi.h.

Constructor & Destructor Documentation

◆ ScipParaRacingRampUpParamSetMpi() [1/2]

default constructor

Definition at line 57 of file scipParaRacingRampUpParamSetMpi.h.

◆ ScipParaRacingRampUpParamSetMpi() [2/2]

ScipParaRacingRampUpParamSetMpi ( int  inTerminationCriteria,
int  inNNodesLeft,
double  inTimeLimit,
int  inScipRacingParamSeed,
int  inPermuteProbSeed,
int  inGenerateBranchOrderSeed,
ScipDiffParamSet inScipDiffParamSet 
)

Constructor

Definition at line 63 of file scipParaRacingRampUpParamSetMpi.h.

◆ ~ScipParaRacingRampUpParamSetMpi()

destructor

Definition at line 77 of file scipParaRacingRampUpParamSetMpi.h.

Member Function Documentation

◆ createDatatype()

◆ receive()

◆ send()