English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / DataServer: TGenParetoDistribution.h Source File
Uranie / DataServer  v4.10.0
/* @license-end */
TGenParetoDistribution.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
6 // by 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$
22 // $State$
24 
65 #ifndef TGENPARETODISTRIBUTION_H
66 #define TGENPARETODISTRIBUTION_H
67 
68 //Uranie
69 #include "TStochAttribut.h"
70 
71 namespace URANIE
72 {
73 namespace DataServer
74 {
76 {
77 private:
78 protected:
79  Double_t _dparameterXi;
80  Double_t _dparameterMu;
81  Double_t _dparameterSigma;
82 
83  TList *_listOfInputAttributes; //< The list of attributes
84 public:
85  //---------------------------------------------
91 
93 
97  TGenParetoDistribution(TString name);
98 
100 
107  TGenParetoDistribution(TString name, Double_t mu, Double_t sigma,
108  Double_t xi);
109 
111 
118  Double_t sigma, Double_t xi);
120  virtual ~TGenParetoDistribution();
122  //---------------------------------------------
127  virtual void setParameterMu(Double_t mu, Bool_t recompute = kTRUE);
130  virtual void setParameterSigma(Double_t sigma, Bool_t recompute = kTRUE);
132  virtual void setParameterXi(Double_t xi, Bool_t recompute = kTRUE);
134  virtual void setParameters(Double_t mu, Double_t sigma, Double_t xi,
135  Bool_t recompute = kTRUE);
136 
138  virtual Double_t getParameterMu();
140  virtual Double_t getParameterSigma();
142  virtual Double_t getParameterXi();
143 
147  Double_t getXiEquation(Double_t x, Double_t skewness);
148 
150 
153  Double_t getZ(Double_t x);
154 
156 
160  virtual void computeTheoreticalInformation();
162 
164 
167  virtual Double_t getPDF(Double_t x);
168 
170 
173  virtual Double_t getCDF(Double_t x);
174 
176 
181  virtual Double_t getInvCDF(Double_t p);
183 
184  //---------------------------------------------
188  virtual void printLog(Option_t *option = "");
190 
191 
192  ClassDef(URANIE::DataServer::TGenParetoDistribution, ID_DATASERVER)
193  //Classe de
194 };
195 } // Fin du namespace DataServer
196 } // Fin du namespace URANIE
197 #endif
ROOT.
Definition: TAttribute.h:104
virtual void setParameterSigma(Double_t sigma, Bool_t recompute=kTRUE)
Sets the scale parameter.
TList * _listOfInputAttributes
Definition: TGenParetoDistribution.h:83
TGenParetoDistribution()
Default constructor.
virtual Double_t getParameterMu()
Gets the location.
virtual void setParameters(Double_t mu, Double_t sigma, Double_t xi, Bool_t recompute=kTRUE)
Sets the scale, shape and location parameters.
Double_t _dparameterMu
The location parameter .
Definition: TGenParetoDistribution.h:80
virtual void setParameterXi(Double_t xi, Bool_t recompute=kTRUE)
Sets the shape parameter.
virtual Double_t getInvCDF(Double_t p)
Returns the value corresponding to the cumulative density p.
Double_t _dparameterSigma
The scale parameter .
Definition: TGenParetoDistribution.h:81
virtual void computeTheoreticalInformation()
Computes the theoretical values of various statistical measures, like mean, standard deviation...
Double_t getXiEquation(Double_t x, Double_t skewness)
virtual Double_t getPDF(Double_t x)
Returns the probability density for the value x.
Definition: TStochAttribut.h:369
virtual ~TGenParetoDistribution()
Default destructor.
virtual Double_t getParameterSigma()
Gets the scale.
Description of the class TGenParetoDistribution.
Definition: TGenParetoDistribution.h:75
Class of attributes following a probability density function.
Double_t getZ(Double_t x)
Calculates the value.
virtual void setParameterMu(Double_t mu, Bool_t recompute=kTRUE)
Sets the location parameter.
Description of a variable (field).
Definition: TAttribute.h:136
virtual Double_t getParameterXi()
Gets the scale.
virtual void printLog()
Display information specific to this class.
virtual Double_t getCDF(Double_t x)
Returns the cumulative distribution for the value x.
Double_t _dparameterXi
The shape parameter .
Definition: TGenParetoDistribution.h:79