|
libcmaes 0.10.2
A C++11 library for stochastic optimization with CMA-ES
|
Public Member Functions | |
| RankedCandidate (const double &fvalue_mut, Candidate &c, const int &idx) | |
Public Member Functions inherited from libcmaes::Candidate | |
| Candidate () | |
| empty constructor. | |
| Candidate (const double &fvalue, const dVec &x) | |
| constructor. | |
| void | set_fvalue (const double &fval) |
| set candidate's function value. | |
| double | get_fvalue () const |
| get function value of this candidate. | |
| void | set_x (const dVec &x) |
| sets parameter vector of this candidate. | |
| dVec | get_x_dvec () const |
| get parameter vector of this candidate in Eigen vector format. | |
| dVec & | get_x_dvec_ref () |
| get reference parameter vector of this candidate in Eigen vector format. | |
| const double * | get_x_ptr () const |
| get parameter vector pointer of this candidate as array. DO NOT USE from temporary candidate object. | |
| std::vector< double > | get_x () const |
| get parameter vector copy for this candidate. | |
| unsigned int | get_x_size () const |
| get x vector size | |
| template<class TGenoPheno > | |
| dVec | get_x_pheno_dvec (const CMAParameters< TGenoPheno > &p) const |
| get pheno transform of parameter vector of this candidate in Eigen vector format. | |
| void | set_id (const int &id) |
| set candidate id | |
| int | get_id () const |
| get candidate id | |
| void | set_rank (const int &r) |
| set candidate rank | |
| int | get_rank () const |
| get candidate rank | |
Public Attributes | |
| int | _idx = -1 |
| double | _fvalue_mut |
| int | _r1 = 0 |
| int | _r2 = 0 |
| double | _delta = 0.0 |
Additional Inherited Members | |
Protected Attributes inherited from libcmaes::Candidate | |
| double | _fvalue |
| dVec | _x |
| int | _id = -1 |
| int | _r = -1 |