Go to the documentation of this file.
306 inline const std::string&
309 inline const std::vector<std::string>&
317 bpar_[key] = atoi(val) ? true :
false; }
320 bpar_[key] = val ? true :
false; }
326 ipar_[key] = atoi(val); }
332 dpar_[key] = atof(val); }
341 sapar_[key].push_back(val); }
356 for (
size_t j = 0; j <
sapar_[i].size(); ++j)
376 sapar_[i].reserve(str_size);
377 for (
size_t j = 0; j < str_size; ++j){
379 sapar_[i].push_back(std::string());
@ printSystemStatus
Print system status: 0: do not print, 1: print.
@ hubInitNodeNum
The number of nodes initially generated by each hub.
@ receiverThreshold
It is between 0.0 - 1.0.
double * dpar_
The double parameters.
const std::vector< std::string > & entry(const strArrayParams key) const
This is the class serves as a holder for a set of parameters.
@ unitWorkTime
The time length of a unit work.
@ hubMsgLevel
Message level of the hub specific messages.
@ masterBalancePeriod
The time period for master to do loading balance/termination check.
@ checkMemory
Check memory.
virtual void setDefaultEntries()
Method for setting the default values for the parameters.
@ deletePrunedNodes
Warm start or not.
@ processNum
The total number of processes that are launched for parallel code.
@ instance
The instance to be solved.
@ deleteDeadNode
Remove dead nodes or not.
void setEntry(const strParams key, const char *val)
void setEntry(const boolParams key, const char val)
char is true(1) or false(0), not used
@ searchStrategy
Search strategy – best-first (0) – best-first-estimate (1) – breadth-first (2) – depth-first (3) – hy...
intParams
Integer paramters.
dblParams
Double parameters.
@ hubWorkClusterSizeLimit
If the number of processes in a cluster is less than it, the hub also work as a worker.
std::string * spar_
The string (actually, std::string) parameters.
@ nodeLimit
The max number of nodes can be processed.
@ tolerance
The numeric tolerance.
@ printSolution
Print solution to screen and log if have a solution and msgLevel and logFileLevel permits.
@ largeSize
The size of memory allocated for large size message.
void setEntry(const intParams key, const int val)
@ unitWorkNodes
The size/number of nodes of a unit work.
@ bufSpare
The size of extra memory allocated to a message buffer.
strArrayParams
There are no string array parameters.
@ msgLevel
The level of printing messages on screen.
@ solLimit
The max num of solution can be stored in a solution pool.
@ clockType
Type of clock when timing rampup, rampdown, etc.
AlpsEncoded & writeRep(const T &value)
Write a single object of type T in repsentation_ .
int * ipar_
The integer parameters.
AlpsEncoded & readRep(T &value)
Read a single object of type T from repsentation_ .
void setEntry(const boolParams key, const char *val)
char* is true(1) or false(0), not used
@ masterReportInterval
The interval between master report system status.
void unpack(AlpsEncoded &buf)
Unpack the parameter set from buf.
@ eliteSize
Number of the "elite" nodes that are used in determining workload.
void setEntry(const dblParams key, const char *val)
@ interClusterBalance
Master balances the workload of hubs: centralized.
void setEntry(const boolParams key, const bool val)
This method is the one that ever been used.
@ logFile
The name of log file.
@ donorThreshold
It is between 1.0 - infty.
const std::string & entry(const strParams key) const
@ smallSize
The size of memory allocated for small size message.
@ intraClusterBalance
Hub balances the workload of workers: receiver initialized.
void setEntry(const intParams key, const char *val)
bool entry(const boolParams key) const
void setEntry(const dblParams key, const double val)
@ timeLimit
The time limit (in seconds) of search.
bool * bpar_
The bool parameters.
@ hubNum
The number of hubs.
@ hubReportPeriod
The time period (sec) for hubs to process messages.
@ changeWorkThreshold
The threshold of workload below which a worker will change the subtree that is working on.
@ staticBalanceScheme
Static load balancing scheme – root initialization (0) – spiral (1)
boolParams
Character parameters.
int entry(const intParams key) const
AlpsParams()
The default constructor creates a parameter set with from the template argument structure.
@ workerMsgLevel
Message level of the worker specific messages.
@ needWorkThreshold
The threshold of workload below which a process will ask for workload Default: 2.
@ mediumSize
The size of memory allocated for medium size message.
@ masterInitNodeNum
The number of nodes initially generated by the master.
@ logFileLevel
The level of log file.
void pack(AlpsEncoded &buf)
Pack the parameter set into buf.
@ nodeLogInterval
Node log interval.
strParams
String parameters.
virtual void createKeywordList()
Method for creating the list of keyword looked for in the parameter file.
void setEntry(const strArrayParams key, const char *val)
double entry(const dblParams key) const
std::vector< std::string > * sapar_
AlpsParams & operator=(const AlpsParams &x)
@ zeroLoad
If less than this number, it is considered zero workload.