37#ifndef __BB_PARA_RACING_RAMP_UP_PARAM_SET_H__
38#define __BB_PARA_RACING_RAMP_UP_PARAM_SET_H__
82 int inTerminationCriteria,
166 gzstream::ogzstream &out
174 gzstream::igzstream &in
Base class of communicator for UG Framework.
class BbParaRacingRampUpParamSet (parameter set for racing ramp-up)
int getTerminationCriteria()
get termination criteria
int getStopRacingNNodesLeft()
get stop racing number of nodes left
virtual bool read(ParaComm *comm, gzstream::igzstream &in)=0
read from checkpoint file
double timeLimit
stop racing time limit
BbParaRacingRampUpParamSet()
default constructor
virtual void write(gzstream::ogzstream &out)=0
write to checkpoint file
virtual int send(ParaComm *comm, int destination)=0
send BbParaRacingRampUpParamSet
BbParaRacingRampUpParamSet(int inTerminationCriteria, int inNNodesLeft, double inTimeLimit)
constructor
virtual const std::string toString()=0
stringfy BbParaRacingRampUpParamSet
virtual int receive(ParaComm *comm, int source)=0
receive BbParaRacingRampUpParamSet
virtual int getStrategy()=0
get strategy
double getStopRacingTimeLimit()
get stop racing time limimt
virtual ~BbParaRacingRampUpParamSet()
destructor
virtual void setWinnerRank(int rank)
set winner rank TODO: this function and also getWinnerRank should be removed
int nNodesLeft
stop racing number of nodes left
Base class of communicator object.
class ParaRacingRampUpParamSet (parameter set for racing ramp-up)
int terminationCriteria
termination criteria of racing ramp-up : 0: number of nodes left, 1: time limit meaning must be defin...
static ScipParaCommTh * comm
Utilities for handling gzipped input and output streams.
static const int RacingTerminationNotDefined
static const int RacingTerminateWithNNodesLeft
BbParaRacingRampUpParamSet * BbParaRacingRampUpParamSetPtr
static const int RacingTerminateWithTimeLimit
Base class for racing ramp-up parameter set.