Documentation / Manuel développeur
Modules disponibles
Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,  ![]() |
Uranie / Optimizer
v4.10.0
|
TOptimizer.h
Go to the documentation of this file.
Rosenbrock's function (n=2) with first and second order derivatives.
Definition: TBestEstimate.h:57
virtual void clean(Option_t *option="")
Cleans the working directory of the code.
void addObjective(TString name, URANIE::DataServer::TDataServer *tds, TString ystar, URANIE::Launcher::TOutputFile *outfile, TString yhat, Double_t weight=1.0)
Add the objective in the TOptimizer object : Sum of square of the error.
void unfixParameter(TString name)
Unfix the parameter given by these name.
EOptimType getOptimType()
Return the type of optimization.
Definition: TOptimizer.h:176
Int_t getMaxFunctionCalls()
Get the maximum numbers of evaluations.
Definition: TOptimizer.h:150
Int_t _nPrintLevel
The level of Debg between without test.
Definition: TOptimizer.h:79
void setMethod(EOptimMethod method=kMigrad)
Select the algorithm of optimization.
Definition: TOptimizer.h:166
void(* _fMethod)(Double_t *, Double_t *)
Definition: TOptimizer.h:89
Definition: TOptimizer.h:73
void printState(Option_t *option="")
Print the state of the algorithm of optimization.
TString _sCost
The name od the selected cost (the number must be equal to 1)
Definition: TOptimizer.h:96
void setTolerance(Double_t dtol)
Set the tolerance parameter.
Definition: TOptimizer.h:125
void activeObjective(TString name)
Active the objective given by these name.
Interface of class URANIE::Optimize::TObjectiveUncertainty.
void setMaxFunctionCalls(Int_t nmax)
Set the maximum number of evaluations.
Definition: TOptimizer.h:145
void setPrintLevel(int level)
Set the print Level of Debug between .
Definition: TOptimizer.h:181
EOptimMethod getMethod()
Return the algorithm of optimization.
Definition: TOptimizer.h:171
int getPrintLevel() const
Get the print Level of Debug between .
Definition: TOptimizer.h:186
Int_t _nMaxIterations
Pointer vers un TDS.
Definition: TOptimizer.h:81
EOptimType _optimProblem
Function name.
Definition: TOptimizer.h:92
Double_t getTolerance()
Get the tolerance parameter.
Definition: TOptimizer.h:130
Definition: TOptimizer.h:73
void unactiveObjective(TString name)
Unactive the objective given by these name.
Double_t _dTolerance
The tolerance parameter.
Definition: TOptimizer.h:83
void fixParameter(TString name)
Fix the parameter given by these name to the default value.
URANIE::DataServer::TDataServer * _tds
Definition: TOptimizer.h:80
TString _sFunctionName
A pointer for the analytical function.
Definition: TOptimizer.h:91
TString getSelectedCost()
Get the selected Select an cost in the Output string.
Definition: TOptimizer.h:271
Interface of class URANIE::Optimize::TObjective.
Int_t getMaxIterations()
Get the maximum number of iterations.
Definition: TOptimizer.h:140
Definition: TOptimizer.h:73
void selectCost(TString scost)
Select an cost in the Output string.
virtual void optimize(Option_t *option="")
Runs phase of the code (TMinuit2)
TString _sOutput
The string of output attributes (the number must be equal to 1)
Definition: TOptimizer.h:95
Bool_t _bsave
Saves all the computation files in each directory.
Definition: TOptimizer.h:77
Definition: TOptimizer.h:73
void invertObjectives()
Invert the state of all the objectives.
void addOutputVariable(TString soutput)
Add input and output variables.
vector< TObjective * > _objectives
vector of objectives
Definition: TOptimizer.h:84
Bool_t _bclean
Cleans the Working Directory before running the code.
Definition: TOptimizer.h:78
void setMaxIterations(Int_t nmax)
Set the maximum number of iterations.
Definition: TOptimizer.h:135
void invertParameters()
Invert the state of all the parameters.
vector< URANIE::Optimizer::TObjective *> getObjectives()
get the vector containing the objectives
Definition: TOptimizer.h:257
EOptimMethod _optimMethod
The method of optimisation.
Definition: TOptimizer.h:93
Int_t _nMaxFunctionCalls
The max number to call the code/function.
Definition: TOptimizer.h:82
Definition: TOptimizer.h:69
virtual void terminate(Option_t *option="")
Terminates phase of the code.
TMethodCall * _fMethodCall
Pointer to MethodCall in case of interpreted function.
Definition: TOptimizer.h:85
virtual void printLog(Option_t *option="")
TOptimizer(URANIE::DataServer::TDataServer *tds, URANIE::Launcher::TCode *code)
Constructor with a dataserver.
TString _sInput
The string of input attributes.
Definition: TOptimizer.h:94
Definition: TOptimizer.h:69
Definition: TOptimizer.h:69