23 #ifndef AlpsHelperFunctions_h_
24 #define AlpsHelperFunctions_h_
31 #include "CoinTime.hpp"
54 totalLoad_ += pow(fabs(incVal_ - node->
getQuality()), rho_);
57 double result()
const {
return totalLoad_; }
75 double start = CoinCpuTime();
76 while ( (CoinCpuTime() - start) < sec) { };
double getQuality() const
Query/set the quality of the node.
void AlpsSleep(double sec)
Delay for the specified seconds.
void operator()(const T *ptr) const
This class holds one node of the search tree.
TotalWorkload(const double incVal, const double rho)
void operator()(AlpsTreeNode *&node)
A functor class used in calulating total workload in a node pool.