libcmaes 0.10.2
A C++11 library for stochastic optimization with CMA-ES
Loading...
Searching...
No Matches
libcmaes::pwqBoundStrategy Class Reference

Public Member Functions

 pwqBoundStrategy (const double *lbounds, const double *ubounds, const int &dim)
 
 pwqBoundStrategy (const double *lbounds, const double *ubounds, const double *plbounds, const double *pubounds, const int &dim)
 
void to_f_representation (const dVec &x, dVec &y) const
 
void to_internal_representation (dVec &x, const dVec &y) const
 
void shift_into_feasible (const dVec &x, dVec &x_s) const
 
double getLBound (const int &k) const
 
double getUBound (const int &k) const
 
double getPhenoLBound (const int &k) const
 
double getPhenoUBound (const int &k) const
 
double getAL (const int &k) const
 
double getAU (const int &k) const
 
void remove_dimensions (const std::vector< int > &k)
 
bool is_id () const
 

Private Attributes

dVec _lbounds
 
dVec _ubounds
 
dVec _al
 
dVec _au
 
dVec _xlow
 
dVec _xup
 
dVec _r
 
dVec _phenolbounds
 
dVec _phenoubounds
 
bool _id = false
 

Member Data Documentation

◆ _phenolbounds

dVec libcmaes::pwqBoundStrategy::_phenolbounds
private

differ from _lbounds when another geno/pheno transform applies before bounds.

◆ _phenoubounds

dVec libcmaes::pwqBoundStrategy::_phenoubounds
private

differ from _ubounds when another geno/pheno transform applies before bounds.


The documentation for this class was generated from the following files: