37 #ifndef __PARA_CALCULATION_STATE_H__ 38 #define __PARA_CALCULATION_STATE_H__ 77 int inTerminationState
79 : compTime(inCompTime),
81 terminationState(inTerminationState)
160 #endif // __PARA_CALCULATION_STATE_H__ static ScipParaCommTh * comm
int getTerminationState()
getter of the termination state for solving the subproblem
ParaCalculationState()
Default Constructor.
Base class of Calculation state in a ParaSolver.
virtual ~ParaCalculationState()
Destructor.
double compTime
computation time of this ParaTask
int nSolved
the number of tasks solved
virtual void receive(ParaComm *comm, int source, int tag)=0
send this object to destination
int terminationState
indicate whether if this computation is terminationState or not. 0: no, 1: terminationState meaning c...
Base class of communicator for UG Framework.
ParaCalculationState(double inCompTime, int inNSolved, int inTerminationState)
Constructor.
virtual void send(ParaComm *comm, int destination, int tag)=0
send this object to destination
int getNSolved()
geeter of the number of tasks solved in a subproblem
virtual std::string toSimpleString()=0
stringfy ParaCalculationState (simple string version)
double getCompTime()
getter of computing time of a subproblem
virtual std::string toString()=0
stringfy ParaCalculationState
Base class of communicator object.