English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / Calibration: TRejectionABC.h Source File
Uranie / Calibration  v4.11.0
/* @license-end */
TRejectionABC.h
Go to the documentation of this file.
1 // Copyright (C) 2013-2024 CEA/DES
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Lesser General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or any
7 // later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Lesser General Public License for more details.
13 //
14 // You should have received a copy of the GNU Lesser General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
18 // $Id$
19 // $Author$
20 // $Date$
21 // $Revision 1.2 $
22 // $State$
24 
32 #ifndef __REJECTION_ABC__
33 #define __REJECTION_ABC__
34 
35 // Uranie
36 #include "TABC.h"
37 
38 namespace URANIE
39 {
40 namespace Calibration
41 {
42 
44 {
45 
46 public :
47 
48  //---------------------------------------------
52 
59  TRejectionABC(URANIE::DataServer::TDataServer *tds, URANIE::Relauncher::TRun *run, int ns = 1, Option_t *option = "");
60 
69  TRejectionABC(URANIE::DataServer::TDataServer *tds, void (*fcn)(Double_t*,Double_t*), const char *varexpinput, const char *varexpoutput, int ns = 100, Option_t *option = "");
70 
79  TRejectionABC(URANIE::DataServer::TDataServer *tds, const char *fcn, const char *varexpinput, const char *varexpoutput, int ns = 100, Option_t *option = "");
80 
87  TRejectionABC(URANIE::DataServer::TDataServer *tds, URANIE::Launcher::TCode *fcode, int ns = 1, Option_t *option = "");
88 
102  virtual void setDistance(const char *distName, URANIE::DataServer::TDataServer *tdsRef, const char *input, const char *reference, const char *weight="");
103 
112  virtual void setDistance(URANIE::Calibration::TDistanceLikelihoodFunction *distFunc, URANIE::DataServer::TDataServer *tdsRef, const char *input, const char *reference, const char *weight="");
113 
115  virtual ~TRejectionABC();
117 
118  //---------------------------------------------
129  void computeParameters(Option_t *option = "");
131 
132 
133  ClassDef(URANIE::Calibration::TRejectionABC, ID_CALIBRATION)
134 
135 };
136 
137 } // Fin du namespace ABC
138 } // Fin du namespace URANIE
139 #endif
Definition: TABC.cxx:45
Description of the class TDistanceLikelihoodFunction.
Definition: TDistanceLikelihoodFunction.h:67
virtual void setDistance(const char *distName, URANIE::DataServer::TDataServer *tdsRef, const char *input, const char *reference, const char *weight="")
Set the distance function and some needed informations.
Definition: TRejectionABC.cxx:94
Definition: TABC.h:53
virtual ~TRejectionABC()
Default destructor.
Definition: TRejectionABC.cxx:75
Definition: TRejectionABC.h:43
TRejectionABC(URANIE::DataServer::TDataServer *tds, URANIE::Relauncher::TRun *run, int ns=1, Option_t *option="")
Default ABC constructor with the runner argument: it contains the assessor to be used.
Definition: TRejectionABC.cxx:51
Interface of class URANIE::ABC::TABC.
void computeParameters(Option_t *option="")
Generate the sample.
Definition: TRejectionABC.cxx:100