English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / DataServer: TTriangularPossibility.h Source File
Uranie / DataServer  v4.10.0
/* @license-end */
TTriangularPossibility.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 
33 #ifndef TTRIANGULARPOSSIBITY_H
34 #define TTRIANGULARPOSSIBITY_H
35 
36 #include "TString.h"
37 #include <iostream>
38 
39 // Uranie
40 #include "DataServer.h"
41 #include "TPossibilityAttribute.h"
42 
43 namespace URANIE
44 {
45 namespace DataServer
46 {
47 
56 {
57 protected:
58  Double_t _dmode;
59 public:
60  // -----------------------------------------------------------------------
61  // Constructors
62  // -----------------------------------------------------------------------
63  //---------------------------------------------
67 
71  TTriangularPossibility(TString str);
72 
74 
81  TTriangularPossibility(TString str, Double_t min, Double_t max,
82  Double_t mod,
84 
86  virtual ~TTriangularPossibility();
88 
89  //---------------------------------------------
93  Double_t getMode()
95  {
96  return _dmode;
97  }
99  void setMode(Double_t x);
101 
102  //---------------------------------------------
106  virtual void printLog();
109 
110  ClassDef(TTriangularPossibility, ID_DATASERVER)
111  //Definition of a stochastic variable
112 };
113 } // Fin du namespace DataServer
114 } // Fin du namespace URANIE
115 
116 #endif
ROOT.
Definition: TAttribute.h:104
Double_t _dmode
The mod of the triangular possibility.
Definition: TTriangularPossibility.h:58
Class of attributes following a probability density function.
Definition: TPossibilityAttribute.h:56
TTriangularPossibility(TString str)
Constructor setting the name.
Double_t getMode()
Return the x-value of maximim of possibility.
Definition: TTriangularPossibility.h:94
virtual void printLog()
Display information specific to this class.
void setMode(Double_t x)
Set the x-value of maximim of possibility.
Definition: TTriangularPossibility.h:55
EMonotonousRelationship
The list of monotonous relationship.
Definition: TPossibilityAttribute.h:66
virtual ~TTriangularPossibility()
Default Destructor.