English Français

Documentation / Developer's manual

Available modules

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / ReLauncher: TBaseEval.h Source File
Uranie / ReLauncher  v4.10.0
/* @license-end */
TBaseEval.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 by
6 // 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 1.3 $
22 // $State$
24 
32 #ifndef __TBaseEval__
33 #define __TBaseEval__
34 
35 //ROOT
36 #include "Rtypes.h"
37 #include "TObjArray.h"
38 
39 // Uranie
40 #include "Relauncher.h"
41 #include "TEval.h"
42 #include "TDataServer.h"
43 
44 namespace URANIE
45 {
46 namespace Relauncher
47 {
48 
49 class TBaseEval: public TEval
50 {
51 protected:
53  TObjArray _input, _output;
54 
55 public:
56  TBaseEval();
57 
58  virtual void addAllInputs(URANIE::DataServer::TDataServer *);
59  virtual void freeze();
60  virtual TEval *rebuild(int rank, Bool_t chef = kTRUE);
61  virtual Bool_t unbuild();
62 
63  virtual TObjArray *getInputList();
64  virtual TObjArray *getOutputList();
65 
66  virtual void checkAttributeType( URANIE::DataServer::TAttribute *att );
67 
68  virtual int getOutDimension(vector<URANIE::DataServer::UEntry*>*);
69 
70  virtual bool isThreadSafe() {return true;}
71  virtual bool containsStringType();
72 
73  virtual void clean();
74  virtual void cleanOutputs();
75 
76  void setMpi();
77 
78  ClassDef(URANIE::Relauncher::TBaseEval, ID_RELAUNCHER)
79 };
80 
81 
82 }
83 } // namespace
84 #endif
Definition: TBaseEval.cxx:44
virtual int getOutDimension(vector< URANIE::DataServer::UEntry *> *)
Definition: TBaseEval.cxx:108
virtual TEval * rebuild(int rank, Bool_t chef=kTRUE)
Definition: TBaseEval.cxx:60
TObjArray _input
Definition: TBaseEval.h:53
virtual void checkAttributeType(URANIE::DataServer::TAttribute *att)
Definition: TBaseEval.cxx:137
TObjArray _output
Definition: TBaseEval.h:53
virtual Bool_t unbuild()
Definition: TBaseEval.cxx:67
virtual void cleanOutputs()
Definition: TBaseEval.cxx:79
Definition: TBaseEval.h:49
TBaseEval()
Definition: TBaseEval.cxx:50
virtual TObjArray * getInputList()
Definition: TBaseEval.cxx:96
virtual bool containsStringType()
Definition: TBaseEval.cxx:118
virtual void freeze()
Definition: TBaseEval.cxx:55
bool _freezed
Definition: TBaseEval.h:52
virtual bool isThreadSafe()
Definition: TBaseEval.h:70
virtual TObjArray * getOutputList()
Definition: TBaseEval.cxx:102
Definition: TEval.h:49
void setMpi()
Definition: TBaseEval.cxx:154
evaluation dun jeu de parametres
virtual void clean()
Definition: TBaseEval.cxx:72
virtual void addAllInputs(URANIE::DataServer::TDataServer *)
Definition: TBaseEval.cxx:85
bool _subeval
Definition: TBaseEval.h:52
bool _mpi
Definition: TBaseEval.h:52