Documentation / Developer's manual
Available modules
Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,  
Uranie / Calibration v4.9.0
|
TMetropHasting.h
Go to the documentation of this file.
56 TMetropHasting(URANIE::DataServer::TDataServer *tds, URANIE::Relauncher::TRun *run, int nS=100, Option_t *option = "lhs");
67 TMetropHasting(URANIE::DataServer::TDataServer *tds, void (*fcn)(Double_t*,Double_t*), const char *varexpinput, const char *varexpoutput, int ns = 100, Option_t *option = "");
77 TMetropHasting(URANIE::DataServer::TDataServer *tds, const char *fcn, const char *varexpinput, const char *varexpoutput, int ns = 100, Option_t *option = "");
85 TMetropHasting(URANIE::DataServer::TDataServer *tds, URANIE::Launcher::TCode *fcode, int ns = 100, Option_t *option = "");
164 void setDistanceAndReference(const char *funcName, URANIE::DataServer::TDataServer *tdsRef, const char *input, const char *output, const char *weight="");
174 void setDistanceAndReference(URANIE::Calibration::TDistanceFunction *distFunc, URANIE::DataServer::TDataServer *tdsRef, const char *input, const char *output, const char *weight="");
191 void drawTrace(TString sTitre, const char *variable="*", const char *select="1>0", Option_t *option="");
201 void drawAcceptationRatio(TString sTitre, const char *variable="*", const char *select="1>0", Option_t *option="");
213 void drawParameters(TString sTitre, const char *variable = "*", const char *select = "1>0", Option_t * option = "");
Interface of class URANIE::Calibration::TCalibration.
URANIE::DataServer::TDataServer * _tdsPar
TDS containing parameters properties (parameters that should be calibrated)
Definition TCalibration.h:79
Description of the class TDistanceFunction.
Definition TDistanceFunction.h:68
Definition TMetropHasting.h:29
void setDistanceAndReference(URANIE::Calibration::TDistanceFunction *distFunc, URANIE::DataServer::TDataServer *tdsRef, const char *input, const char *output, const char *weight="")
Set the distance function and some needed informations.
bool _mbGDVersion
Use the Guillaume Damblin.
Definition TMetropHasting.h:42
double _higAccRange
higheracceptation ratio bound to decrease _vstd
Definition TMetropHasting.h:41
TMetropHasting(URANIE::DataServer::TDataServer *tds, const char *fcn, const char *varexpinput, const char *varexpoutput, int ns=100, Option_t *option="")
Default Calibration constructor with the function argument: it contains the assessor to be used.
void clearDefaultCut()
Definition TMetropHasting.h:134
void logPriorPdf(double &ret)
Logarithm of the prior.
int _nbDump
Frequency to which the algo dump a line.
Definition TMetropHasting.h:39
void setDistanceAndReference(const char *funcName, URANIE::DataServer::TDataServer *tdsRef, const char *input, const char *output, const char *weight="")
Set the distance function and some needed informations.
void checktdsParContent()
void setInitialisation(int n, double *values, double *standDev)
Initialise the parameters.
void setAcceptationRatioRange(double lower, double higher)
void parseOption(Option_t *option="")
Read the possible options.
void drawParameters(TString sTitre, const char *variable="*", const char *select="1>0", Option_t *option="")
Draws the parameters as distributions The estimateParamters method has computed the parameters,...
void setBurnin(int burn)
Definition TMetropHasting.h:116
int _burnin
The warm-up or burn-in.
Definition TMetropHasting.h:37
void getAutoCorrelation(vector< int > l, vector< double > *out, int cut=0)
Compute the autocorrelation.
void computeParameters(Option_t *option="")
Generate the sample.
bool _bcleaningAtt
Do not store the underlying att.
Definition TMetropHasting.h:43
void setNbDump(int nbDump)
Definition TMetropHasting.h:118
void drawAcceptationRatio(TString sTitre, const char *variable="*", const char *select="1>0", Option_t *option="")
Draws the evolution of acceptation ratio as a function of the iterator.
TMetropHasting(URANIE::DataServer::TDataServer *tds, URANIE::Launcher::TCode *fcode, int ns=100, Option_t *option="")
Default Calibration constructor with the code argument: it contains the assessor to be used.
virtual void printLog(Option_t *option="")
Prints the log.
TMetropHasting(URANIE::DataServer::TDataServer *tds, void(*fcn)(Double_t *, Double_t *), const char *varexpinput, const char *varexpoutput, int ns=100, Option_t *option="")
Default Calibration constructor with the function argument: it contains the assessor to be used.
string getDefaultCut()
Definition TMetropHasting.h:122
TMetropHasting(URANIE::DataServer::TDataServer *tds, URANIE::Relauncher::TRun *run, int nS=100, Option_t *option="lhs")
vector< double > _vstd
Vector of standard deviation.
Definition TMetropHasting.h:35
void setInitialisation(vector< double > values, vector< double > standDev)
Initialise the parameters.
void drawTrace(TString sTitre, const char *variable="*", const char *select="1>0", Option_t *option="")
Draws the evolution of parameters as a function of the iterator.
vector< double > _values
Vector of values to be tested.
Definition TMetropHasting.h:34
double _lowAccRange
loweracceptation ratio bound to increase _vstd
Definition TMetropHasting.h:40
Definition TABC.cxx:46