English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / ReLauncher: TStandardEval.h Source File
Uranie / ReLauncher v4.9.0
/* @license-end */
TStandardEval.h
Go to the documentation of this file.
1/* --- Ansi C --- */
3// Copyright (C) 2013-2024 CEA/DES
4//
5// This program is free software: you can redistribute it and/or
6// modify it under the terms of the GNU Lesser General Public License
7// as published by the Free Software Foundation, either version 3 of
8// the License, or any later version.
9//
10// This program is distributed in the hope that it will be useful,
11// but WITHOUT ANY WARRANTY; without even the implied warranty of
12// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13// GNU Lesser General Public License for more details.
14//
15// You should have received a copy of the GNU Lesser General Public
16// License along with this program.
17// if not, see <http://www.gnu.org/licenses/>.
19
27#ifndef __TStandardEval__
28#define __TStandardEval__
29
30//ROOT
31#include "Rtypes.h"
32#include "TObjArray.h"
33
34// Uranie
35#include "Relauncher.h"
36#include "TEval.h"
37#include "TBaseEval.h"
38#include "TDataServer.h"
39
40namespace URANIE
41{
42namespace Relauncher
43{
44
46{
47public:
49 virtual void addInput(URANIE::DataServer::TAttribute *);
50 virtual void addOutput(URANIE::DataServer::TAttribute *);
51 virtual void setInputs(Int_t, URANIE::DataServer::TAttribute *, ...);
52 virtual void setOutputs(Int_t, URANIE::DataServer::TAttribute *, ...);
53
54 ClassDef(URANIE::Relauncher::TStandardEval, ID_RELAUNCHER)
55
56};
57
58
60{
61public:
63 virtual void provideSingleResult() { } ;
64 virtual int eval(std::vector<URANIE::DataServer::UEntry*>*, std::vector<URANIE::DataServer::UEntry*>*, int =0 ){ return 0; }
65
66 ClassDef(URANIE::Relauncher::TSimpleEval, ID_RELAUNCHER)
67};
68
69
71{
72public:
74 virtual int eval(double*, double*, int =0 ) { return 0; } // = 0 ; //
75 virtual int eval(std::vector<URANIE::DataServer::UEntry*>*, std::vector<URANIE::DataServer::UEntry*>*, int =0 );
76
77 ClassDef(URANIE::Relauncher::TDoubleEval, ID_RELAUNCHER)
78};
79
80}} //namespace
81
82#endif
implementation partage au TEval
evaluation dun jeu de parametres
Definition TBaseEval.h:50
Definition TStandardEval.h:71
virtual int eval(std::vector< URANIE::DataServer::UEntry * > *, std::vector< URANIE::DataServer::UEntry * > *, int=0)
virtual int eval(double *, double *, int=0)
Definition TStandardEval.h:74
TDoubleEval()
Definition TStandardEval.h:73
Definition TStandardEval.h:60
virtual void provideSingleResult()
Definition TStandardEval.h:63
virtual int eval(std::vector< URANIE::DataServer::UEntry * > *, std::vector< URANIE::DataServer::UEntry * > *, int=0)
Definition TStandardEval.h:64
TSimpleEval()
Definition TStandardEval.h:62
Definition TStandardEval.h:46
virtual void setInputs(Int_t, URANIE::DataServer::TAttribute *,...)
Definition TStandardEval.cxx:55
virtual void addOutput(URANIE::DataServer::TAttribute *)
Definition TStandardEval.cxx:47
virtual void setOutputs(Int_t, URANIE::DataServer::TAttribute *,...)
Definition TStandardEval.cxx:73
TStandardEval()
Definition TStandardEval.h:48
virtual void addInput(URANIE::DataServer::TAttribute *)
Definition TStandardEval.cxx:39
Definition TBaseEval.cxx:44