English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / DataServer: TBaseModel.h Source File
Uranie / DataServer v4.9.0
/* @license-end */
TBaseModel.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
44#ifndef TBASEMODEL_H
45#define TBASEMODEL_H
46// ROOT
47#include "TNamed.h"
48
49// URANIE
50#include "DataServer.h"
51
52namespace URANIE
53{
54namespace DataServer
55{
56class TBaseModel: public TNamed
57{
58public:
63private:
64 TString _sinput;
65 TString _shidden;
66 TString _soutput;
72 Int_t _nseed;
73
74 Double_t _dlearn;
75public:
77 TBaseModel(TString sinput, TString soutput);
78 TBaseModel(TString sname, TString sinput, TString shidden, TString soutput);
80 virtual ~TBaseModel();
81
82 //---------------------------------------------
86 void setName(TString str)
87 {
88 SetName(str);
89 }
90 void setInput(TString str)
91 {
92 _sinput = str;
93 }
94 void setHidden(TString str)
95 {
96 _shidden = str;
97 }
98 void setOutput(TString str)
99 {
100 _soutput = str;
101 }
103 {
104 _nlanguage = val;
105 }
107 {
108 return _nlanguage;
109 }
110
112 void setFileNameExport(TString str)
113 {
114 _sfileNameExport = str;
115 }
116 void setFunctionNameExport(TString str)
117 {
119 }
120 void setNIteration(Int_t n)
121 {
122 _niteration = n;
123 }
124 void setNInitialization(Int_t n)
125 {
127 }
128 void setSeed(Int_t n)
129 {
130 _nseed = n;
131 }
132 void setLearn(Double_t dval)
133 {
134 _dlearn = dval;
135 }
136
137 TString getInput()
138 {
139 return _sinput;
140 }
141 TString getHidden()
142 {
143 return _shidden;
144 }
145 TString getOutput()
146 {
147 return _soutput;
148 }
150 {
151 return _niteration;
152 }
154 {
155 return _ninitialization;
156 }
157 Int_t getSeed()
158 {
159 return _nseed;
160 }
161 Double_t getLearn()
162 {
163 return _dlearn;
164 }
166
167 //---------------------------------------------
171 void printLog(Option_t *option = "");
173
174 ClassDef(URANIE::DataServer::TBaseModel, ID_DATASERVER)
175 //Classe de
176};
177
178} // Fin du namespace DataServer
179} // Fin du namespace URANIE
180#endif
Description of the class TBaseModel.
Definition TBaseModel.h:57
void setLanguage(ELanguage val)
Definition TBaseModel.h:102
Double_t _dlearn
Definition TBaseModel.h:74
Int_t _niteration
Definition TBaseModel.h:70
Double_t getLearn()
Definition TBaseModel.h:161
Int_t getNInitialization()
Definition TBaseModel.h:153
void setOutput(TString str)
Definition TBaseModel.h:98
TString getInput()
Definition TBaseModel.h:137
void setHidden(TString str)
Definition TBaseModel.h:94
void setSeed(Int_t n)
Definition TBaseModel.h:128
Int_t getNIteration()
Definition TBaseModel.h:149
ELanguage getLanguage()
Definition TBaseModel.h:106
TString _sinput
Definition TBaseModel.h:64
void setNInitialization(Int_t n)
Definition TBaseModel.h:124
void setName(TString str)
Definition TBaseModel.h:86
void printLog(Option_t *option="")
TString _sfileNameExport
Definition TBaseModel.h:68
TString _shidden
Definition TBaseModel.h:65
Int_t getSeed()
Definition TBaseModel.h:157
TBaseModel(TString sinput, TString soutput)
Int_t _ninitialization
Definition TBaseModel.h:71
virtual ~TBaseModel()
Default destructor.
void setNIteration(Int_t n)
Definition TBaseModel.h:120
TBaseModel(TString sname, TString sinput, TString shidden, TString soutput)
void setFileNameExport(TString str)
Definition TBaseModel.h:112
TString _sfunctionNameExport
Definition TBaseModel.h:69
ELanguage
Definition TBaseModel.h:60
@ kCXX
Definition TBaseModel.h:61
@ kEMPTY
Definition TBaseModel.h:61
@ kC
Definition TBaseModel.h:61
@ kFORTRAN
Definition TBaseModel.h:61
void setLearn(Double_t dval)
Definition TBaseModel.h:132
void setFunctionNameExport(TString str)
Definition TBaseModel.h:116
void setInput(TString str)
Definition TBaseModel.h:90
TString _soutput
Definition TBaseModel.h:66
Int_t _nseed
Definition TBaseModel.h:72
TString getOutput()
Definition TBaseModel.h:145
TString getHidden()
Definition TBaseModel.h:141
ELanguage _nlanguage
Definition TBaseModel.h:67
ROOT.
Definition TAttribute.h:106