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.10.0
/* @license-end */
TLogTriangularDistribution.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 
66 #ifndef TLOGTRIANGULARDISTRIBUTION_H
67 #define TLOGTRIANGULARDISTRIBUTION_H
68 
69 //Uranie
70 #include "TStochAttribut.h"
72 
73 namespace URANIE
74 {
75 namespace DataServer
76 {
78 {
79 private:
80  Double_t _dleftArea;
81 
82 protected:
83  Double_t _dparameterMode;
84 
85 public:
86  //---------------------------------------------
90 
95 
97 
102  TLogTriangularDistribution(TString name);
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 
136  virtual ~TLogTriangularDistribution();
138 
146 
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 
211 
217  virtual void computeTheoreticalInformation();
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 
247  ClassDef(URANIE::DataServer::TLogTriangularDistribution, ID_DATASERVER)
248  //Classe de
249 };
250 
251 } // Fin du namespace DataServer
252 } // Fin du namespace URANIE
253 #endif
ROOT.
Definition: TAttribute.h:104
virtual void setParameterMode(Double_t mode, Bool_t recompute=kTRUE)
Set the value of the mode parameter.
virtual Double_t getParameterMode()
Returns the value of the mode parameter.
Definition: TLogTriangularDistribution.h:188
virtual Double_t getCDF(Double_t x)
Returns the cumulative distribution for the value x.
Double_t _dleftArea
The probability that , equivalent to or getCDF( )
Definition: TLogTriangularDistribution.h:80
Definition: TStochAttribut.h:68
Description of the class TLogTriangularDistribution.
Definition: TLogTriangularDistribution.h:77
virtual void computeTheoreticalInformation()
Computes the theoretical values of various statistical measures, like mean, standard deviation...
Interface of the class URANIE::DataServer::TTriangularDistribution.
virtual void setBounds(Double_t lower, Double_t upper, Bool_t recompute=kTRUE)
Set the bounds.
virtual void printLog()
Display information specific to this class.
virtual Double_t getPDF(Double_t x)
Returns the probability density for the value x.
virtual ~TLogTriangularDistribution()
Default destructor.
virtual void setUpperBound(Double_t upper, Bool_t recompute=kTRUE)
Set the upper bound.
virtual void setParameters(Double_t lower, Double_t upper, Double_t mode, Bool_t recompute=kTRUE)
Set all parameters at once.
virtual Double_t getInvCDF(Double_t p)
Returns the value corresponding to the cumulative density p.
Double_t _dparameterMode
The mode parameter.
Definition: TLogTriangularDistribution.h:83
Class of attributes following a probability density function.
Description of a variable (field).
Definition: TAttribute.h:136
virtual void setLowerBound(Double_t lower, Bool_t recompute=kTRUE)
Set the lower bound.