English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / MetaModelOptim: TEgoStdSolver.h Source File
Uranie / MetaModelOptim  v4.10.0
/* @license-end */
TEgoStdSolver.h
Go to the documentation of this file.
1 /* --- Ansi C --- */
3 // Copyright (C) 2019 CEA/DEN
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 __EGOBASICSOLVER__
28 #define __EGOBASICSOLVER__
29 
30 // ROOT
31 
32 // Uranie
33 #include "TDataServer.h"
34 #include "TRun.h"
35 #include "TVizirGenetic.h"
36 #include "TVizir2.h"
37 #include "TOptimFit.h"
38 
39 #include "TEgoShareSolver.h"
40 
41 namespace URANIE {
42 namespace MetaModelOptim {
43 
44 class TEgoStdSolver : public TEgoVzrSolver
45 {
46 protected :
47  int _Next;
48 
49  virtual void fitnessChanged();
50  virtual void extend();
51 
52 public :
53  TEgoStdSolver();
54  virtual ~TEgoStdSolver();
55 
56  void build(URANIE::Relauncher::TRun *,
57  vector<URANIE::DataServer::TAttribute*>&, URANIE::DataServer::TAttribute *);
58  virtual int getNext(long ev, int nb,
59  vector<vector<URANIE::DataServer::UEntry*>> &sampl, vector<char> &mark);
60 
62 };
63 
64 } } //namespace
65 
66 #endif
Definition: TEGO.h:57
void build(URANIE::Relauncher::TRun *, vector< URANIE::DataServer::TAttribute *> &, URANIE::DataServer::TAttribute *)
Definition: TEgoStdSolver.cxx:70
int _Next
Definition: TEgoStdSolver.h:47
#define ID_EGO
Definition: TEGO.h:31
virtual void extend()
Definition: TEgoStdSolver.cxx:64
TEgoStdSolver()
Definition: TEgoStdSolver.cxx:32
virtual int getNext(long ev, int nb, vector< vector< URANIE::DataServer::UEntry *>> &sampl, vector< char > &mark)
Definition: TEgoStdSolver.cxx:81
virtual ~TEgoStdSolver()
Definition: TEgoStdSolver.cxx:38
recherche du point minimisant l&#39;EI
Definition: TEgoStdSolver.h:44
virtual void fitnessChanged()
Definition: TEgoStdSolver.cxx:46