English Français

Documentation / Developer's manual

Available modules

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / DataServer: TLogTriangularDistribution.h Source File
Uranie / DataServer v4.9.0
/* @license-end */
TLogTriangularDistribution.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
66#ifndef TLOGTRIANGULARDISTRIBUTION_H
67#define TLOGTRIANGULARDISTRIBUTION_H
68
69//Uranie
70#include "TStochAttribut.h"
72
73namespace URANIE
74{
75namespace DataServer
76{
78{
79private:
80 Double_t _dleftArea;
81
82protected:
83 Double_t _dparameterMode;
84
85public:
86 //---------------------------------------------
90
95
97
103
105
112 TLogTriangularDistribution(TString name, Double_t min, Double_t max);
113
115
121 TLogTriangularDistribution(TString name, Double_t min, Double_t max,
122 Double_t mode);
123
125
133 Double_t mode);
134
138
147
154 virtual void setLowerBound(Double_t lower, Bool_t recompute = kTRUE);
155
157
164 virtual void setUpperBound(Double_t upper, Bool_t recompute = kTRUE);
165
167
175 virtual void setBounds(Double_t lower, Double_t upper, Bool_t recompute =
176 kTRUE);
177
179
185 virtual void setParameterMode(Double_t mode, Bool_t recompute = kTRUE);
186
188 virtual Double_t getParameterMode()
189 {
190 return _dparameterMode;
191 }
192
194
202 virtual void setParameters(Double_t lower, Double_t upper, Double_t mode,
203 Bool_t recompute = kTRUE);
204
206
212
218
220
223 virtual Double_t getPDF(Double_t x);
224
226
229 virtual Double_t getCDF(Double_t x);
230
232
237 virtual Double_t getInvCDF(Double_t p);
239
240 //---------------------------------------------
244 virtual void printLog(Option_t *option = "");
246
248 //Classe de
249};
250
251} // Fin du namespace DataServer
252} // Fin du namespace URANIE
253#endif
Class of attributes following a probability density function.
Interface of the class URANIE::DataServer::TTriangularDistribution.
Description of a variable (field).
Definition TAttribute.h:138
Description of the class TLogTriangularDistribution.
Definition TLogTriangularDistribution.h:78
virtual void setBounds(Double_t lower, Double_t upper, Bool_t recompute=kTRUE)
Set the bounds.
virtual void setUpperBound(Double_t upper, Bool_t recompute=kTRUE)
Set the upper bound.
Double_t _dleftArea
The probability that , equivalent to or getCDF( )
Definition TLogTriangularDistribution.h:80
virtual void printLog(Option_t *option="")
TLogTriangularDistribution(URANIE::DataServer::TAttribute *att, Double_t mode)
Construction of a TUniformDistribution from an existing TAttribute object.
virtual void setParameters(Double_t lower, Double_t upper, Double_t mode, Bool_t recompute=kTRUE)
Set all parameters at once.
virtual Double_t getParameterMode()
Returns the value of the mode parameter.
Definition TLogTriangularDistribution.h:188
virtual ~TLogTriangularDistribution()
Default destructor.
virtual void setParameterMode(Double_t mode, Bool_t recompute=kTRUE)
Set the value of the mode parameter.
Double_t _dparameterMode
The mode parameter.
Definition TLogTriangularDistribution.h:83
virtual void computeTheoreticalInformation()
Computes the theoretical values of various statistical measures, like mean, standard deviation,...
TLogTriangularDistribution(TString name, Double_t min, Double_t max)
Constructor setting name and range.
virtual Double_t getInvCDF(Double_t p)
Returns the value corresponding to the cumulative density p.
virtual void setLowerBound(Double_t lower, Bool_t recompute=kTRUE)
Set the lower bound.
TLogTriangularDistribution(TString name)
Constructor setting the name.
TLogTriangularDistribution(TString name, Double_t min, Double_t max, Double_t mode)
Constructor setting name, range and mode.
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.
Definition TStochAttribut.h:69
ROOT.
Definition TAttribute.h:106