25 #include "libcmaes_config.h"
27 #ifdef HAVE_GLOG // HAVE_LIB_GLOG
28 #include <glog/logging.h>
34 static std::string INFO=
"INFO";
35 static std::string WARNING=
"WARNING";
36 static std::string ERROR=
"ERROR";
37 static std::string FATAL=
"FATAL";
39 static std::ostream nullstream(0);
41 inline std::ostream& LOG(
const std::string &severity,std::ostream &out=std::cout)
43 out << severity <<
" - ";
47 inline std::ostream& LOG_IF(
const std::string &severity,
const bool &condition,std::ostream &out=std::cout)
50 return LOG(severity,out);
51 else return nullstream;
linear scaling of the parameter space to achieve similar sensitivity across all components.
Definition: acovarianceupdate.cc:25