English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / DataServer: TPossibilityAttribute.h Source File
Uranie / DataServer v4.9.0
/* @license-end */
TPossibilityAttribute.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 TPOSSIBITYATTRIBUTE_H
34#define TPOSSIBITYATTRIBUTE_H
35
36#include "TString.h"
37#include <iostream>
38
39// Uranie
40#include "DataServer.h"
41#include "TAttribute.h"
42#include "UExceptions.h"
43
44namespace URANIE
45{
46namespace DataServer
47{
48
57{
58public:
59
70
73public:
74 // -----------------------------------------------------------------------
75 // Constructors
76 // -----------------------------------------------------------------------
78
83
85
93 EMonotonousRelationship monotonous);
94
96
103 TPossibilityAttribute(TString str, EPossibilityType value, Double_t min,
104 Double_t max, EMonotonousRelationship monotonous);
105
108
109 //---------------------------------------------
113
115 {
116 return _PossibilityType;
117 }
120 {
122 }
125 {
127 }
129
130 //---------------------------------------------
134
136 {
137 return _PossibilityType;
138 }
139
141
142 //---------------------------------------------
146
147 virtual void printLog();
149
150 ClassDef(TPossibilityAttribute, ID_DATASERVER)
151 //Definition of a stochastic variable
152};
153} // Fin du namespace DataServer
154} // Fin du namespace URANIE
155
156#endif
Interface file for the class URANIE::DataServer::TAttribute.
Description of a variable (field).
Definition TAttribute.h:138
Definition TPossibilityAttribute.h:57
TPossibilityAttribute(TString str, EPossibilityType value, Double_t min, Double_t max, EMonotonousRelationship monotonous)
Constructor setting the name, the law type, and the range (lower and upper bounds)
EPossibilityType
The list of possibility that a TAttribute can follow.
Definition TPossibilityAttribute.h:62
@ kTrapezium
Definition TPossibilityAttribute.h:63
@ kUnknown
Definition TPossibilityAttribute.h:63
@ kUniform
Definition TPossibilityAttribute.h:63
@ kTriangular
Definition TPossibilityAttribute.h:63
@ kPolygonal
Definition TPossibilityAttribute.h:63
int getMonotonousRelationship()
Get the relationship of monotonous.
Definition TPossibilityAttribute.h:114
virtual ~TPossibilityAttribute()
Default Destructor.
EMonotonousRelationship
The list of monotonous relationship
Definition TPossibilityAttribute.h:67
@ kNotDefined
Definition TPossibilityAttribute.h:68
@ kIncreasing
Definition TPossibilityAttribute.h:68
@ kDecreasing
Definition TPossibilityAttribute.h:68
TPossibilityAttribute(TString str)
Constructor setting default possibility by the name.
EPossibilityType _PossibilityType
The possibility type EPossibilityType.
Definition TPossibilityAttribute.h:71
int getLawType()
Returns the law type as an integer.
Definition TPossibilityAttribute.h:135
virtual void printLog()
Display information specific to this class.
Bool_t isDecreasing()
is the relationship of monotonous of the attribute is Decreasing
Definition TPossibilityAttribute.h:124
Bool_t isIncreasing()
is the relationship of monotonous of the attribute is Increasing
Definition TPossibilityAttribute.h:119
TPossibilityAttribute(TString str, EPossibilityType value, EMonotonousRelationship monotonous)
Constructor setting the name and the law type.
EMonotonousRelationship _MonotonousRelationship
The relationship of monotonous.
Definition TPossibilityAttribute.h:72
ROOT.
Definition TAttribute.h:106