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.10.0
/* @license-end */
TBetaDistribution.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 
67 #ifndef TBETADISTRIBUTION_H
68 #define TBETADISTRIBUTION_H
69 
70 //Uranie
71 #include "TStochAttribut.h"
72 
73 namespace URANIE
74 {
75 namespace DataServer
76 {
78 {
79 private:
80 
81  Double_t _dparameterAlpha;
82  Double_t _dparameterBeta;
83 
84 public:
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 
127  virtual ~TBetaDistribution();
129 
137 
144  virtual void setParameterAlpha(Double_t alpha, Bool_t recompute = kTRUE);
145 
147  Double_t getParameterAlpha()
148  {
149  return _dparameterAlpha;
150  }
151 
153 
159  virtual void setParameterBeta(Double_t beta, Bool_t recompute = kTRUE);
160 
162  Double_t getParameterBeta()
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 
183  virtual void computeTheoreticalInformation();
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
ROOT.
Definition: TAttribute.h:104
virtual void computeTheoreticalInformation()
Computes the theoretical values of various statistical measures, like mean, standard deviation...
virtual void setParameterAlpha(Double_t alpha, Bool_t recompute=kTRUE)
Set the shape parameter .
virtual Double_t getInvCDF(Double_t p)
Returns the value corresponding to the cumulative density p.
virtual Double_t getCDF(Double_t x)
Returns the cumulative distribution for the value x.
Description of the class TBetaDistribution.
Definition: TBetaDistribution.h:77
Double_t _dparameterBeta
The shape parameter .
Definition: TBetaDistribution.h:82
Double_t getParameterAlpha()
Return the parameter.
Definition: TBetaDistribution.h:147
virtual Double_t getPDF(Double_t x)
Returns the probability density for the value x.
Definition: TStochAttribut.h:68
Double_t _dparameterAlpha
The shape parameter .
Definition: TBetaDistribution.h:81
virtual void printLog()
Display information specific to this class.
Class of attributes following a probability density function.
virtual ~TBetaDistribution()
Default destructor.
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.
Description of a variable (field).
Definition: TAttribute.h:136
Double_t getParameterBeta()
Return the parameter.
Definition: TBetaDistribution.h:162
TBetaDistribution()
Default constructor.
virtual void setParameterBeta(Double_t beta, Bool_t recompute=kTRUE)
Set the shape parameter .