candidate solution point, in function parameter space.  
 More...
#include <libcmaes/candidate.h>
candidate solution point, in function parameter space. 
◆ Candidate()
constructor. 
- Parameters
- 
  
    | fvalue | function value |  | x | function parameter vector |  
 
 
 
◆ get_fvalue()
  
  | 
        
          | double libcmaes::Candidate::get_fvalue | ( |  | ) | const |  | inline | 
 
get function value of this candidate. 
- Returns
- function value 
 
 
◆ get_id()
  
  | 
        
          | int libcmaes::Candidate::get_id | ( |  | ) | const |  | inline | 
 
get candidate id 
- Returns
- candidate id 
 
 
◆ get_rank()
  
  | 
        
          | int libcmaes::Candidate::get_rank | ( |  | ) | const |  | inline | 
 
get candidate rank 
- Returns
- candidate rank 
 
 
◆ get_x()
  
  | 
        
          | std::vector< double > libcmaes::Candidate::get_x | ( |  | ) | const |  | inline | 
 
get parameter vector copy for this candidate. 
- Returns
- parameter vector copy 
 
 
◆ get_x_dvec()
  
  | 
        
          | dVec libcmaes::Candidate::get_x_dvec | ( |  | ) | const |  | inline | 
 
get parameter vector of this candidate in Eigen vector format. 
- Returns
- parameter vector in Eigen vector format 
 
 
◆ get_x_dvec_ref()
  
  | 
        
          | dVec & libcmaes::Candidate::get_x_dvec_ref | ( |  | ) |  |  | inline | 
 
get reference parameter vector of this candidate in Eigen vector format. 
- Returns
- reference to parameter vector in Eigen vector format 
 
 
◆ get_x_pheno_dvec()
get pheno transform of parameter vector of this candidate in Eigen vector format. 
- Returns
- pheno transform of parameter vector in Eigen vector format 
 
 
◆ get_x_ptr()
  
  | 
        
          | const double * libcmaes::Candidate::get_x_ptr | ( |  | ) | const |  | inline | 
 
get parameter vector pointer of this candidate as array. DO NOT USE from temporary candidate object. 
- Returns
- parameter vector pointer 
 
 
◆ get_x_size()
get x vector size 
- Returns
- x vector size 
 
 
◆ set_fvalue()
set candidate's function value. 
- Parameters
- 
  
  
 
 
◆ set_id()
set candidate id 
- Parameters
- 
  
  
 
 
◆ set_rank()
set candidate rank 
- Parameters
- 
  
  
 
 
◆ set_x()
  
  | 
        
          | void libcmaes::Candidate::set_x | ( | const dVec & | x | ) |  |  | inline | 
 
sets parameter vector of this candidate. 
- Parameters
- 
  
  
 
 
◆ _fvalue
  
  | 
        
          | double libcmaes::Candidate::_fvalue |  | protected | 
 
 
◆ _id
  
  | 
        
          | int libcmaes::Candidate::_id = -1 |  | protected | 
 
candidate id, used for identification after ranking, when needed. 
 
 
◆ _r
  
  | 
        
          | int libcmaes::Candidate::_r = -1 |  | protected | 
 
 
◆ _x
  
  | 
        
          | dVec libcmaes::Candidate::_x |  | protected | 
 
function parameter vector. 
 
 
The documentation for this class was generated from the following file: