|
|
| CMASolutions () |
| | dummy constructor.
|
| |
| template<class TGenoPheno = GenoPheno<NoBoundStrategy>> |
| | CMASolutions (Parameters< TGenoPheno > &p) |
| | initializes solutions from stochastic optimization parameters. More...
|
| |
|
void | sort_candidates () |
| | sorts the current internal set of solution candidates.
|
| |
| void | update_best_candidates () |
| | updates the history of best candidates, as well as other meaningful values, typically used in termination criteria. More...
|
| |
| void | update_eigenv (const dVec &eigenvalues, const dMat &eigenvectors) |
| | updates reference eigenvalue and eigenvectors, for use in termination criteria. More...
|
| |
| Candidate | best_candidate () const |
| | returns current best solution candidate. NOTE: candidates MUST be sorted More...
|
| |
| Candidate | get_best_seen_candidate () const |
| | returns the best seen candidate. More...
|
| |
| Candidate | get_worst_seen_candidate () const |
| | returns the worst seen candidate. More...
|
| |
| Candidate & | get_candidate (const int &r) |
| | get a reference to the r-th candidate in current set More...
|
| |
|
Candidate | get_candidate (const int &r) const |
| |
|
std::vector< Candidate > & | candidates () |
| | get a reference to the full candidate set
|
| |
| int | size () const |
| | number of candidate solutions. More...
|
| |
|
void | reset () |
| | resets the solution object in order to restart from the current solution with fresh covariance matrix. Note: experimental.
|
| |
| void | reset_as_fixed (const int &k) |
| | re-arrange solution object such that parameter 'k' is fixed (i.e. removed). More...
|
| |
|
bool | get_pli (const int &k, pli &p) const |
| | get profile likelihood if previously computed.
|
| |
| int | dim () const |
| | return problem dimension. More...
|
| |
| double | edm () const |
| | returns expected distance to minimum. More...
|
| |
| dMat | cov () const |
| | returns error covariance matrix More...
|
| |
| const dMat & | cov_ref () const |
| | returns reference to error covariance matrix More...
|
| |
| const double * | cov_data () const |
| | returns pointer to covariance matrix array More...
|
| |
| dMat | full_cov () const |
| | returns full covariance matrix. Similar to cov() but in case of linear-sized algorithms like sep and vd, returns the full covariance matrix anyways. More...
|
| |
| dMat | sepcov () const |
| | returns separable covariance diagonal matrix, only applicable to sep-CMA-ES algorithms. More...
|
| |
| const dMat & | sepcov_ref () const |
| | returns reference to separable covariance diagonal vector, only applicable to sep-CMA-ES algorithms. More...
|
| |
| const double * | sepcov_data () const |
| | returns pointer to covariance diagnoal vector More...
|
| |
| dMat | csqinv () const |
| | returns inverse root square of covariance matrix More...
|
| |
| dMat | sepcsqinv () const |
| | returns inverse root square of separable covariance diagonal matrix, only applicable to sep-CMA-ES algorithms. More...
|
| |
| template<class TGenoPheno = GenoPheno<NoBoundStrategy>> |
| dVec | stds (const CMAParameters< TGenoPheno > &cmaparams) const |
| |
| template<class TGenoPheno = GenoPheno<NoBoundStrategy>> |
| dVec | errors (const CMAParameters< TGenoPheno > &cmaparams) const |
| |
| dMat | corr () const |
| | returns correlation matrix More...
|
| |
| double | corr (const int &i, const int &j) const |
| | returns correlation between parameter i and j (useful in large-scale settings) More...
|
| |
| double | sigma () const |
| | returns current value of step-size sigma More...
|
| |
| dVec | xmean () const |
| | returns current distribution's mean in parameter space More...
|
| |
| void | set_xmean (const dVec &xmean) |
| | sets the current distributions' mean in parameter space More...
|
| |
| int | run_status () const |
| | returns current optimization status. More...
|
| |
| std::string | status_msg () const |
| | returns current optimization status' message. More...
|
| |
| int | elapsed_time () const |
| | returns currently elapsed time spent on optimization More...
|
| |
| int | elapsed_last_iter () const |
| | returns time spent on last iteration More...
|
| |
| int | niter () const |
| | returns current number of iterations More...
|
| |
| int | nevals () const |
| | returns current budget (number of objective function calls) More...
|
| |
| double | min_eigenv () const |
| | returns current minimal eigen value More...
|
| |
| double | max_eigenv () const |
| | returns current maximal eigen value More...
|
| |
| bool | updated_eigen () const |
| | returns whether the last update is lazy More...
|
| |
| int | fevals () const |
| | returns current number of objective function evaluations More...
|
| |
| dVec | eigenvalues () const |
| | returns last computed eigenvalues More...
|
| |
| dMat | eigenvectors () const |
| | returns last computed eigenvectors More...
|
| |
| template<class TGenoPheno = GenoPheno<NoBoundStrategy>> |
| std::ostream & | print (std::ostream &out, const int &verb_level=0, const TGenoPheno &gp=TGenoPheno()) const |
| | print the solution object out. More...
|
| |
Holder of the set of evolving solutions from running an instance of CMA-ES.