English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / DataServer: TBetaDistribution.h Source File
Uranie / DataServer v4.9.0
/* @license-end */
TBetaDistribution.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
67#ifndef TBETADISTRIBUTION_H
68#define TBETADISTRIBUTION_H
69
70//Uranie
71#include "TStochAttribut.h"
72
73namespace URANIE
74{
75namespace DataServer
76{
78{
79private:
80
82 Double_t _dparameterBeta;
83
84public:
85 //---------------------------------------------
89
94
96
101 TBetaDistribution(TString name);
102
104
111 TBetaDistribution(TString name, Double_t alpha, Double_t beta,
112 Double_t min = 0.0, Double_t max = 1.0);
113
115
124 Double_t beta);
125
129
138
144 virtual void setParameterAlpha(Double_t alpha, Bool_t recompute = kTRUE);
145
148 {
149 return _dparameterAlpha;
150 }
151
153
159 virtual void setParameterBeta(Double_t beta, Bool_t recompute = kTRUE);
160
163 {
164 return _dparameterBeta;
165 }
166
168
175 virtual void setParameters(Double_t alpha, Double_t beta, Double_t lower =
176 0.0, Double_t upper = 1.0, Bool_t recompute = kTRUE);
178
185
187
192 virtual Double_t getPDF(Double_t x);
193
195
200 virtual Double_t getCDF(Double_t x);
201
203
210 virtual Double_t getInvCDF(Double_t p);
212
213 //---------------------------------------------
217 virtual void printLog(Option_t *option = "");
219
220 ClassDef(URANIE::DataServer::TBetaDistribution, ID_DATASERVER)
221 //Classe de
222};
223
224} // Fin du namespace DataServer
225} // Fin du namespace URANIE
226#endif
Class of attributes following a probability density function.
Description of a variable (field).
Definition TAttribute.h:138
Description of the class TBetaDistribution.
Definition TBetaDistribution.h:78
virtual Double_t getCDF(Double_t x)
Returns the cumulative distribution for the value x.
virtual void setParameters(Double_t alpha, Double_t beta, Double_t lower=0.0, Double_t upper=1.0, Bool_t recompute=kTRUE)
Set all the parameters.
virtual void computeTheoreticalInformation()
Computes the theoretical values of various statistical measures, like mean, standard deviation,...
Double_t _dparameterAlpha
The shape parameter .
Definition TBetaDistribution.h:81
virtual Double_t getPDF(Double_t x)
Returns the probability density for the value x.
Double_t getParameterAlpha()
Return the parameter.
Definition TBetaDistribution.h:147
virtual Double_t getInvCDF(Double_t p)
Returns the value corresponding to the cumulative density p.
TBetaDistribution(URANIE::DataServer::TAttribute *att, Double_t alpha, Double_t beta)
Construction of a TBetaDistribution from an existing TAttribute object.
Double_t _dparameterBeta
The shape parameter .
Definition TBetaDistribution.h:82
TBetaDistribution(TString name)
Constructor setting the name.
virtual void printLog(Option_t *option="")
TBetaDistribution()
Default constructor.
virtual void setParameterAlpha(Double_t alpha, Bool_t recompute=kTRUE)
Set the shape parameter .
virtual void setParameterBeta(Double_t beta, Bool_t recompute=kTRUE)
Set the shape parameter .
Double_t getParameterBeta()
Return the parameter.
Definition TBetaDistribution.h:162
TBetaDistribution(TString name, Double_t alpha, Double_t beta, Double_t min=0.0, Double_t max=1.0)
Constructor setting name, shape parameters and range.
virtual ~TBetaDistribution()
Default destructor.
Definition TStochAttribut.h:69
ROOT.
Definition TAttribute.h:106