it is responsable of the CMAES behaviour among the boundaries More...
#include <cmaesb.h>
Public Member Functions | |
void | setParam (int lambda, double mueff, ColumnVector &sigma, MyMatrix &C) |
void | evalSols (ColumnVector &xmean, MyMatrix &arx, MyMatrix &arxvalid, RowVector &fitness_raw, RowVector &fitness_sel) |
it is responsable of the CMAES behaviour among the boundaries
Definition at line 47 of file cmaesb.h.
void CMAESBound::evalSols | ( | ColumnVector & | xmean, | |
MyMatrix & | arx, | |||
MyMatrix & | arxvalid, | |||
RowVector & | fitness_raw, | |||
RowVector & | fitness_sel | |||
) |
Given an individual it return two fitness, the real and the used for obtain the mean of best lambda.
(Note: if domain.isBound() is false it does not do anything).
If it is avanzed, apply the fitness criterion only when the mean is out of the bounds It it is not avanzed, only return the solution clipped in the bounds, and fitness == fitness_sel
@param | arx current solutions to check | |
xmean | mean | |
arxvalid | Resulting fitness. | |
fitness | vector of obtained Fitness | |
fitness_sel | vector of fitness to use into the selection processs |
void CMAESBound::setParam | ( | int | lambda, | |
double | mueff, | |||
ColumnVector & | sigma, | |||
MyMatrix & | C | |||
) |