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