English Français

Documentation / Developer's manual

Available modules

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