37 #ifndef __PARA_SOLVER_STATE_H__ 38 #define __PARA_SOLVER_STATE_H__ 71 globalSubtreeIdInLc(-1),
82 : racingStage(paraSolverState.racingStage),
83 notificationId(paraSolverState.notificationId),
84 lcId(paraSolverState.lcId),
85 globalSubtreeIdInLc(paraSolverState.globalSubtreeIdInLc),
86 detTime(paraSolverState.detTime)
95 unsigned int inNotificationId,
97 int inGlobalSubtreeIdInLc,
100 : racingStage(inRacingStage),
101 notificationId(inNotificationId),
103 globalSubtreeIdInLc(inGlobalSubtreeIdInLc),
123 return (racingStage == 1);
197 #endif // __PARA_SOLVER_STATE_H__ ParaSolverState(const ParaSolverState ¶SolverState)
copy constructor
class ParaSolverState (ParaSolver state object for notification message)
double getDeterministicTime()
getter of deterministic time
bool isRacingStage()
getter of isRacingStage
static ScipParaCommTh * comm
virtual ~ParaSolverState()
destractor
int globalSubtreeIdInLc
global subtree id of current ParaTask
virtual void receive(ParaComm *comm, int source, int tag)=0
receive this object
virtual std::string toString()=0
stringfy ParaSolverState
Base class of communicator for UG Framework.
double detTime
deterministic time, -1: should be non-deterministic
virtual void send(ParaComm *comm, int destination, int tag)=0
send this object
unsigned int getNotificaionId()
getter of notification id
int lcId
lc id of current ParaTask
int getGlobalSubtreeId()
getter of global subtree id
ParaSolverState()
default constructor
ParaSolverState(int inRacingStage, unsigned int inNotificationId, int inLcId, int inGlobalSubtreeIdInLc, double inDetTime)
constructor
int racingStage
if this value is 1, solver is in racing stage
int getLcId()
getter of LoadCoordintor id
Base class of communicator object.
unsigned int notificationId
id for this notification