English Français

Documentation / Developer's manual

Available modules

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / DataServer: TDiscreteAttribute.h Source File
Uranie / DataServer v4.9.0
/* @license-end */
TDiscreteAttribute.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
36#ifndef TDISCRETEATTRIBUTE_H
37#define TDISCRETEATTRIBUTE_H
38
39#include "TString.h"
40#include <iostream>
41
60// Uranie
61#include "DataServer.h"
62#include "TStochAttribut.h"
63
64namespace URANIE
65{
66namespace DataServer
67{
69{
70
71 // Attributes
72protected:
73
74public:
75 // -----------------------------------------------------------------------
76 // Constructors
77 // -----------------------------------------------------------------------
79
83
84 TDiscreteAttribute(TString str);
85 TDiscreteAttribute(TString str, ELawType value);
88
89 virtual Double_t getPDF(Double_t x) = 0;
90 virtual Double_t getInvCDF(Double_t x) = 0;
91
92 virtual void printLog();ClassDef(URANIE::DataServer::TDiscreteAttribute, ID_DATASERVER)
93};
94} // Fin du namespace DataServer
95} // Fin du namespace URANIE
96
97#endif
Class of attributes following a probability density function.
Description of a variable (field).
Definition TAttribute.h:138
Definition TDiscreteAttribute.h:69
virtual Double_t getPDF(Double_t x)=0
Returns the probability density for the value x.
virtual void printLog()
Display information specific to this class.
virtual Double_t getInvCDF(Double_t x)=0
Returns the value corresponding to the cumulative density p.
TDiscreteAttribute()
Default Constructor
TDiscreteAttribute(TAttribute *object, ELawType value)
TDiscreteAttribute(TString str, ELawType value)
Definition TStochAttribut.h:69
ELawType
The list of laws that a TStochasticAttribute can follow.
Definition TStochAttribut.h:74
ROOT.
Definition TAttribute.h:106