Documentation / Manuel développeur
Modules disponibles
Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,  
Uranie / ReOptimizer v4.9.0
|
#include <TNlopt.h>
Classes | |
class | NotASingleEval |
Public Member Functions | |
TNlopt (URANIE::DataServer::TDataServer *tds, URANIE::Relauncher::TRun *run, TNloptSolver *algo) | |
TNlopt (URANIE::DataServer::TDataServer *tds, URANIE::Relauncher::TEval *fun, TNloptSolver *algo) | |
virtual | ~TNlopt () |
virtual void | addObjective (URANIE::DataServer::TAttribute *, TOptimFit *f=NULL) |
void | addEquality (URANIE::DataServer::TAttribute *, TOptimFit *f=NULL) |
int | critere (struct nlopt_work *, const double *ini, double *out, double *grad) |
int | inequality (struct nlopt_work *, const double *in, double *out, double *grad) |
int | equality (struct nlopt_work *, const double *in, double *out, double *grad) |
void | run (struct nlopt_work *) |
Public Member Functions inherited from URANIE::Reoptimizer::TNloptShare | |
TNloptShare (URANIE::DataServer::TDataServer *tds, URANIE::Relauncher::TRun *run, TNloptSolver *algo) | |
TNloptShare (URANIE::DataServer::TDataServer *tds, URANIE::Relauncher::TEval *fun, TNloptSolver *algo) | |
virtual | ~TNloptShare () |
void | setStartingPoint (double *pt) |
void | setStartingPoint (int nb, double *pt) |
void | setMaximumEval (int max) |
void | run (struct nlopt_work *) |
int | getReturnOptim () |
int | getNStartingPoint () |
virtual void | solverLoop () |
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 | |
virtual void | build () |
void | put (long, std::vector< URANIE::DataServer::UEntry * > *, std::vector< URANIE::DataServer::UEntry * > *, int=0) |
void | put (long, std::vector< URANIE::DataServer::UEntry * > *, std::vector< URANIE::DataServer::UEntry * > *, std::vector< URANIE::DataServer::UEntry * > *, int=0) |
virtual Bool_t | readyToGet () |
void | gradFromCode (double *code, double *solv) |
void | buildSolver (int siz, struct nlopt_work *) |
void | cleanSolver (struct nlopt_work *) |
void | put (struct nlopt_work *, Bool_t, const double *) |
virtual int | get (long &) |
Protected Member Functions inherited from URANIE::Reoptimizer::TNloptShare | |
void | solver (struct nlopt_work *, int, double *, vector< URANIE::DataServer::UEntry * > &, vector< URANIE::DataServer::UEntry * > &, vector< URANIE::DataServer::UEntry * > &) |
void | calcul (struct nlopt_work *, Bool_t, const double *) |
void | fillOptimum (struct nlopt_work *) |
void | fill (struct nlopt_work *, URANIE::DataServer::TDataServer *tds, int id) |
Protected Member Functions inherited from URANIE::Reoptimizer::TOptimShare | |
void | initTrace () |
Protected Attributes | |
std::map< int, struct grad_work > | _job |
int | _coef |
std::vector< std::vector< URANIE::DataServer::UEntry * > > | _codi |
std::vector< std::vector< URANIE::DataServer::UEntry * > > | _codo |
std::vector< std::vector< URANIE::DataServer::UEntry * > > | _codg |
Protected Attributes inherited from URANIE::Reoptimizer::TNloptShare | |
TFitGetter * | _crit |
TObjArray | _equal |
TNloptSolver * | _solv |
std::vector< double * > | _guess |
int | _id |
int | _max |
std::vector< std::vector< URANIE::DataServer::UEntry * > > | _codi |
std::vector< std::vector< URANIE::DataServer::UEntry * > > | _codo |
std::vector< std::vector< URANIE::DataServer::UEntry * > > | _codg |
Protected Attributes inherited from URANIE::Reoptimizer::TOptimShare | |
double | _prec |
TObjArray | _const |
URANIE::DataServer::TDataServer * | _tdstrc |
int | _idtrc |
Bool_t | _blog |
Additional Inherited Members | |
Public Attributes inherited from URANIE::Reoptimizer::TNloptShare | |
int | _retOptim |
Constructor & Destructor Documentation
◆ TNlopt() [1/2]
URANIE::Reoptimizer::TNlopt::TNlopt | ( | URANIE::DataServer::TDataServer * | tds, |
URANIE::Relauncher::TRun * | run, | ||
TNloptSolver * | algo | ||
) |
◆ TNlopt() [2/2]
URANIE::Reoptimizer::TNlopt::TNlopt | ( | URANIE::DataServer::TDataServer * | tds, |
URANIE::Relauncher::TEval * | fun, | ||
TNloptSolver * | algo | ||
) |
◆ ~TNlopt()
|
virtual |
Member Function Documentation
◆ addEquality()
void URANIE::Reoptimizer::TNlopt::addEquality | ( | URANIE::DataServer::TAttribute * | obj, |
TOptimFit * | f = NULL |
||
) |
References URANIE::Reoptimizer::TNloptShare::_equal.
◆ addObjective()
|
virtual |
Implements URANIE::Reoptimizer::TOptimShare.
References URANIE::Reoptimizer::TNloptShare::_crit.
◆ build()
|
protectedvirtual |
Reimplemented from URANIE::Reoptimizer::TNloptShare.
References _coef, and URANIE::Reoptimizer::TNloptShare::build().
◆ buildSolver()
|
protectedvirtual |
Implements URANIE::Reoptimizer::TNloptShare.
References _codg, _codi, _codo, URANIE::Reoptimizer::TNloptShare::_guess, and URANIE::Reoptimizer::TNloptShare::solver().
◆ cleanSolver()
|
protectedvirtual |
Implements URANIE::Reoptimizer::TNloptShare.
◆ critere()
|
virtual |
◆ equality()
|
virtual |
◆ get()
|
protectedvirtual |
Implements URANIE::Reoptimizer::TNloptShare.
Referenced by readyToGet().
◆ gradFromCode()
|
protected |
Referenced by critere(), equality(), and inequality().
◆ inequality()
|
virtual |
◆ put() [1/3]
|
protected |
Referenced by put().
◆ put() [2/3]
|
protected |
◆ put() [3/3]
|
protectedvirtual |
Implements URANIE::Reoptimizer::TNloptShare.
References put().
◆ readyToGet()
|
protectedvirtual |
◆ run()
void URANIE::Reoptimizer::TNlopt::run | ( | struct nlopt_work * | ) |
Member Data Documentation
◆ _codg
|
protected |
Referenced by buildSolver().
◆ _codi
|
protected |
Referenced by buildSolver().
◆ _codo
|
protected |
Referenced by buildSolver().
◆ _coef
|
protected |
Referenced by build(), get(), and readyToGet().
◆ _job
|
protected |
Referenced by get(), and readyToGet().