libcmaes
A C++11 library for stochastic optimization with CMA-ES
|
CMA-ES termination criteria, see reference paper in cmastrategy.h. More...
#include <cmastopcriteria.h>
Public Member Functions | |
CMAStopCriteria () | |
Constructor: instanciates a predefined set of termination criteria tests, see reference paper in cmastrategy.h. | |
int | stop (const CMAParameters< TGenoPheno > &cmap, const CMASolutions &cmas) const |
Termination criteria evaluation: the function iterates and evaluates the predefined criteria. More... | |
int | set_criteria_active (const int &c, const bool &active) |
activates / deactivates a stopping criteria More... | |
Friends | |
class | CMASolutions |
CMA-ES termination criteria, see reference paper in cmastrategy.h.
int libcmaes::CMAStopCriteria< TGenoPheno >::set_criteria_active | ( | const int & | c, |
const bool & | active | ||
) |
activates / deactivates a stopping criteria
c | the criteria to modify |
true | to activate, false to deactivate |
int libcmaes::CMAStopCriteria< TGenoPheno >::stop | ( | const CMAParameters< TGenoPheno > & | cmap, |
const CMASolutions & | cmas | ||
) | const |
Termination criteria evaluation: the function iterates and evaluates the predefined criteria.