Documentation / Developer's manual
Available modules
Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,  
Uranie / ReOptimizer v4.9.0
|
Public Member Functions |
Protected Member Functions |
Protected Attributes |
Private Member Functions |
Private Attributes |
List of all members
URANIE::Reoptimizer::TCMAES Class Reference
#include <TCMAES.h>
Inheritance diagram for URANIE::Reoptimizer::TCMAES:
Collaboration diagram for URANIE::Reoptimizer::TCMAES:
Public Member Functions | |
TCMAES (URANIE::DataServer::TDataServer *tds, URANIE::Relauncher::TRun *run) | |
virtual | ~TCMAES () |
virtual void | addObjective (URANIE::DataServer::TAttribute *, URANIE::Reoptimizer::TOptimFit *f=NULL) |
void | setSize (int loop, int step, int pop) |
void | setUnbounded () |
void | setRejectBound () |
void | setReflexBound () |
void | fitnessChanged () |
virtual void | solverLoop () |
double * | item (int) |
Public Member Functions inherited from URANIE::Reoptimizer::TOptimShare | |
TOptimShare (URANIE::DataServer::TDataServer *tds, URANIE::Relauncher::TRun *run) | |
TOptimShare (URANIE::DataServer::TDataServer *tds, URANIE::Relauncher::TEval *fun) | |
virtual | ~TOptimShare () |
void | addConstraint (URANIE::DataServer::TAttribute *, TOptimFit *f=NULL) |
void | setTolerance (double prec) |
Set the mono precision stop threshold. | |
double | getTolerance () |
void | setTrace (URANIE::DataServer::TDataServer *tds) |
void | setLog () |
void | unsetLog () |
void | changeLog () |
Bool_t | getLog () |
Protected Member Functions | |
void | initCmaesConst () |
void | initDomain () |
void | build () |
void | echo (TMatrixD &m) |
void | echoV (TMatrixD &v) |
void | initRandomPoint (TMatrixD &pt) |
void | push (int nbe, TMatrixD &pt, std::vector< URANIE::DataServer::UEntry * > *codi, std::vector< URANIE::DataServer::UEntry * > *codo) |
long | pull (std::vector< struct solution > &gen, std::vector< std::vector< URANIE::DataServer::UEntry * > > &codi, std::vector< std::vector< URANIE::DataServer::UEntry * > > &codo, std::vector< URANIE::DataServer::UEntry * > *sampl) |
void | fillSample (long i, URANIE::DataServer::TDataServer *tds, std::vector< URANIE::DataServer::UEntry * > *codi, std::vector< URANIE::DataServer::UEntry * > *codo, std::vector< URANIE::DataServer::UEntry * > *sampl) |
Protected Member Functions inherited from URANIE::Reoptimizer::TOptimShare | |
void | initTrace () |
Protected Attributes | |
int | _Ncycle |
int | _Nlambda |
int | _Nmu |
double | _ccoef |
double | _cucoef |
double | _ccovorig |
double | _ccovtest |
double | _cdcoef |
double | _cudcoef |
double | _cbeta |
double | _Xi |
double | _alpha |
TRandom3 | _mt |
URANIE::DataServer::TAttribute * | _y |
URANIE::Reoptimizer::TFitGetter * | _crit |
URANIE::Reoptimizer::TFitGetter * | _valid |
struct population | _pop |
struct cmaes | _etat |
struct domain * | _dom |
Protected Attributes inherited from URANIE::Reoptimizer::TOptimShare | |
double | _prec |
TObjArray | _const |
URANIE::DataServer::TDataServer * | _tdstrc |
int | _idtrc |
Bool_t | _blog |
Private Member Functions | |
void | massCenter (TMatrixD &) |
void | moveCenter (TMatrixD &) |
void | b_from_corr (TMatrixD &bb, TMatrixD &bbb) |
void | add_population (struct solution &sol) |
TMatrixD * | repair_point_unbound (struct solution &sol) |
TMatrixD * | repair_point_reflex (struct solution &sol) |
TMatrixD * | repair_point_reject (struct solution &sol) |
Private Attributes | |
TMatrixD *(TCMAES::* | _repair_point )(struct solution &sol) |
Constructor & Destructor Documentation
◆ TCMAES()
URANIE::Reoptimizer::TCMAES::TCMAES | ( | URANIE::DataServer::TDataServer * | tds, |
URANIE::Relauncher::TRun * | run | ||
) |
References _crit, _mt, _Ncycle, _Nlambda, _Nmu, _repair_point, and repair_point_reject().
◆ ~TCMAES()
|
virtual |
Member Function Documentation
◆ add_population()
|
private |
References solution::aleas, solution::fit, and solution::point.
◆ addObjective()
|
virtual |
Implements URANIE::Reoptimizer::TOptimShare.
◆ b_from_corr()
|
private |
◆ build()
|
protected |
◆ echo()
|
protected |
◆ echoV()
|
protected |
◆ fillSample()
|
protected |
◆ fitnessChanged()
void URANIE::Reoptimizer::TCMAES::fitnessChanged | ( | ) |
◆ initCmaesConst()
|
protected |
References SQRT2.
◆ initDomain()
|
protected |
◆ initRandomPoint()
|
protected |
◆ item()
double * URANIE::Reoptimizer::TCMAES::item | ( | int | ) |
◆ massCenter()
|
private |
◆ moveCenter()
|
private |
◆ pull()
|
protected |
◆ push()
|
protected |
◆ repair_point_reflex()
|
private |
References solution::point.
Referenced by setReflexBound().
◆ repair_point_reject()
|
private |
References solution::point.
Referenced by setRejectBound(), and TCMAES().
◆ repair_point_unbound()
|
private |
References solution::point.
Referenced by setUnbounded().
◆ setReflexBound()
void URANIE::Reoptimizer::TCMAES::setReflexBound | ( | ) |
References repair_point_reflex().
◆ setRejectBound()
void URANIE::Reoptimizer::TCMAES::setRejectBound | ( | ) |
References repair_point_reject().
◆ setSize()
void URANIE::Reoptimizer::TCMAES::setSize | ( | int | loop, |
int | step, | ||
int | pop | ||
) |
◆ setUnbounded()
void URANIE::Reoptimizer::TCMAES::setUnbounded | ( | ) |
References repair_point_unbound().
◆ solverLoop()
|
virtual |
Member Data Documentation
◆ _alpha
|
protected |
◆ _cbeta
|
protected |
◆ _ccoef
|
protected |
◆ _ccovorig
|
protected |
◆ _ccovtest
|
protected |
◆ _cdcoef
|
protected |
◆ _crit
|
protected |
Referenced by TCMAES().
◆ _cucoef
|
protected |
◆ _cudcoef
|
protected |
◆ _dom
|
protected |
◆ _etat
|
protected |
◆ _mt
|
protected |
Referenced by TCMAES().
◆ _Ncycle
|
protected |
Referenced by TCMAES().
◆ _Nlambda
|
protected |
Referenced by TCMAES().
◆ _Nmu
|
protected |
Referenced by TCMAES().
◆ _pop
|
protected |
◆ _repair_point
|
private |
Referenced by TCMAES().
◆ _valid
|
protected |
◆ _Xi
|
protected |
◆ _y
|
protected |