37#ifndef __BB_PARA_SOLVER_STATE_H__
38#define __BB_PARA_SOLVER_STATE_H__
89 unsigned int inNotificationId,
91 int inGlobalSubtreeId,
92 long long inNodesSolved,
94 double inBestDualBoundValue,
95 double inGlobalBestPrimalBoundValue,
97 double inAverageDualBoundGain
99 :
ParaSolverState(inRacingStage, inNotificationId, inLcId, inGlobalSubtreeId, inDetTime),
224 std::ostringstream s;
class BbParaSolverState (ParaSolver state object for notification message)
int getNNodesLeft()
getter of number of nodes left by the notification Solver
BbParaSolverState(int inRacingStage, unsigned int inNotificationId, int inLcId, int inGlobalSubtreeId, long long inNodesSolved, int inNodesLeft, double inBestDualBoundValue, double inGlobalBestPrimalBoundValue, double inDetTime, double inAverageDualBoundGain)
constructor
int getGlobalSubtreeId()
getter of global subtree id
unsigned int getNotificaionId()
getter of notification id
double globalBestPrimalBoundValue
global best primal bound value
double getSolverLocalBestDualBoundValue()
gettter of best dual bound value
double bestDualBoundValue
best dual bound value in that of remaining nodes
double getGlobalBestPrimalBoundValue()
get global best primal bound value that the notification Solver has
double getDeterministicTime()
getter of deterministic time
BbParaSolverState()
default constructor
double getAverageDualBoundGain()
getter of average dual bound gain received
int getLcId()
getter of LoadCoordintor id
std::string toString()
stringfy BbParaSolverState
bool isRacingStage()
getter of isRacingStage
double averageDualBoundGain
average dual bound gain received
long long getNNodesSolved()
getter of number of nodes solved by the notification Solver
virtual ~BbParaSolverState()
destractor
int nNodesLeft
number of remaining nodes
long long nNodesSolved
number of nodes solved
class ParaSolverState (ParaSolver state object for notification message)
double detTime
deterministic time, -1: should be non-deterministic
int lcId
lc id of current ParaTask
int globalSubtreeIdInLc
global subtree id of current ParaTask
unsigned int notificationId
id for this notification
int racingStage
if this value is 1, solver is in racing stage
Base class of communicator for UG Framework.
This class has solver state to be transferred.