English Français

Documentation / Developer's manual

Available modules

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / DataServer: TGenParetoDistribution.h Source File
Uranie / DataServer v4.9.0
/* @license-end */
TGenParetoDistribution.h
Go to the documentation of this file.
1
2// 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
71namespace URANIE
72{
73namespace DataServer
74{
76{
77private:
78protected:
79 Double_t _dparameterXi;
80 Double_t _dparameterMu;
82
83 TList *_listOfInputAttributes; //< The list of attributes
84public:
85 //---------------------------------------------
89
91
93
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);
122 //---------------------------------------------
127
128 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
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
Class of attributes following a probability density function.
Description of a variable (field).
Definition TAttribute.h:138
Description of the class TGenParetoDistribution.
Definition TGenParetoDistribution.h:76
virtual ~TGenParetoDistribution()
Default destructor.
Double_t getZ(Double_t x)
Calculates the value.
virtual Double_t getInvCDF(Double_t p)
Returns the value corresponding to the cumulative density p.
virtual void computeTheoreticalInformation()
Computes the theoretical values of various statistical measures, like mean, standard deviation,...
virtual void printLog(Option_t *option="")
virtual void setParameterMu(Double_t mu, Bool_t recompute=kTRUE)
Sets the location parameter.
Double_t _dparameterSigma
The scale parameter .
Definition TGenParetoDistribution.h:81
virtual void setParameterXi(Double_t xi, Bool_t recompute=kTRUE)
Sets the shape parameter.
virtual Double_t getParameterXi()
Gets the scale.
Double_t getXiEquation(Double_t x, Double_t skewness)
TGenParetoDistribution(TString name, Double_t mu, Double_t sigma, Double_t xi)
Constructor by name and statistics.
TGenParetoDistribution(URANIE::DataServer::TAttribute *att, Double_t mu, Double_t sigma, Double_t xi)
Constructor by attribute and statistics.
TGenParetoDistribution()
Default constructor.
TList * _listOfInputAttributes
Definition TGenParetoDistribution.h:83
virtual Double_t getCDF(Double_t x)
Returns the cumulative distribution for the value x.
virtual Double_t getPDF(Double_t x)
Returns the probability density for the value x.
virtual void setParameterSigma(Double_t sigma, Bool_t recompute=kTRUE)
Sets the scale parameter.
TGenParetoDistribution(TString name)
Constructor by name only.
Double_t _dparameterXi
The shape parameter
Definition TGenParetoDistribution.h:79
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 Double_t getParameterSigma()
Gets the scale.
Definition TStochAttribut.h:370
ROOT.
Definition TAttribute.h:106