Documentation / Developer's manual
Available modules
Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,  
Uranie / Optimizer v4.9.0
|
TOptimizer.h
Go to the documentation of this file.
Interface of class URANIE::Optimize::TObjectiveUncertainty.
Interface of class URANIE::Optimize::TObjective.
vector< URANIE::Optimizer::TObjective * > getObjectives()
get the vector containing the objectives
Definition TOptimizer.h:258
void printState(Option_t *option="")
Print the state of the algorithm of optimization.
Bool_t _bsave
Saves all the computation files in each directory.
Definition TOptimizer.h:76
Int_t _nPrintLevel
The level of Debg between without test.
Definition TOptimizer.h:79
virtual void optimize(Option_t *option="")
Runs phase of the code (TMinuit2)
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.
Double_t _dTolerance
The tolerance parameter.
Definition TOptimizer.h:84
URANIE::Launcher::TCode * _code
Pointer vers un TDS.
Definition TOptimizer.h:81
EOptimType getOptimType()
Return the type of optimization.
Definition TOptimizer.h:177
TString _sdirectory
Current directory.
Definition TOptimizer.h:75
void invertParameters()
Invert the state of all the parameters.
TString getSelectedCost()
Get the selected Select an cost in the Output string.
Definition TOptimizer.h:272
Int_t _nMaxFunctionCalls
The max number to call the code/function.
Definition TOptimizer.h:83
EOptimMethod _optimMethod
The method of optimisation.
Definition TOptimizer.h:94
EOptimType _optimProblem
Function name.
Definition TOptimizer.h:93
void(* _fMethod)(Double_t *, Double_t *)
Definition TOptimizer.h:90
void addObjective(TString name, URANIE::DataServer::TDataServer *tds, TString ystar, TString sigma, URANIE::Launcher::TOutputFile *outfile, TString yhat, Double_t alpha=1.0)
Add the objective in the TOptimizer object : Sum of square of the weighted error.
vector< TObjective * > _objectives
vector of objectives
Definition TOptimizer.h:85
void addOutputVariable(TString soutput)
Add input and output variables.
Int_t getMaxIterations()
Get the maximum number of iterations.
Definition TOptimizer.h:141
Bool_t _bclean
Cleans the Working Directory before running the code.
Definition TOptimizer.h:77
TOptimizer(URANIE::DataServer::TDataServer *tds, URANIE::Launcher::TCode *code)
Constructor with a dataserver.
void setMaxIterations(Int_t nmax)
Set the maximum number of iterations.
Definition TOptimizer.h:136
TString _sCost
The name od the selected cost (the number must be equal to 1)
Definition TOptimizer.h:97
void setTolerance(Double_t dtol)
Set the tolerance parameter.
Definition TOptimizer.h:126
void fixParameter(TString name)
Fix the parameter given by these name to the default value.
TOptimizer(URANIE::DataServer::TDataServer *tds, const char *fcn, TString sinput="", TString soutput="")
Constructor by a TDataServer, a function name and list of input and output (optional)
virtual void terminate(Option_t *option="")
Terminates phase of the code.
void activeObjective(TString name)
Active the objective given by these name.
void unactiveObjective(TString name)
Unactive the objective given by these name.
TString _sInput
The string of input attributes.
Definition TOptimizer.h:95
virtual void printLog(Option_t *option="")
void unfixParameter(TString name)
Unfix the parameter given by these name.
TString _sFunctionName
A pointer for the analytical function.
Definition TOptimizer.h:92
Int_t getMaxFunctionCalls()
Get the maximum numbers of evaluations.
Definition TOptimizer.h:151
EOptimMethod getMethod()
Return the algorithm of optimization.
Definition TOptimizer.h:172
void setMaxFunctionCalls(Int_t nmax)
Set the maximum number of evaluations.
Definition TOptimizer.h:146
void invertObjectives()
Invert the state of all the objectives.
void setMethod(EOptimMethod method=kMigrad)
Select the algorithm of optimization.
Definition TOptimizer.h:167
Int_t _nMaxIterations
Pointer vers un TCode.
Definition TOptimizer.h:82
TOptimizer(URANIE::DataServer::TDataServer *tds, void(*fcn)(Double_t *, Double_t *), TString sinput, TString soutput)
Constructor by a TDataServer, a function and list of input and output (optional)
TString _sOutput
The string of output attributes (the number must be equal to 1)
Definition TOptimizer.h:96
int getPrintLevel() const
Get the print Level of Debug between .
Definition TOptimizer.h:187
void selectCost(TString scost)
Select an cost in the Output string.
void setPrintLevel(int level)
Set the print Level of Debug between .
Definition TOptimizer.h:182
virtual void clean(Option_t *option="")
Cleans the working directory of the code.
TMethodCall * _fMethodCall
Pointer to MethodCall in case of interpreted function.
Definition TOptimizer.h:86
Double_t getTolerance()
Get the tolerance parameter.
Definition TOptimizer.h:131
Rosenbrock's function (n=2) with first and second order derivatives.
Definition TBestEstimate.h:58