English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / ReOptimizer: TVizirIsland.h Source File
Uranie / ReOptimizer  v4.11.0
/* @license-end */
TVizirIsland.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.2 $
22 // $State$
24 
32 #ifndef __VIZIR_ISLAND__
33 #define __VIZIR_ISLAND__
34 
35 //ROOT
36 #include "Rtypes.h"
37 
38 //URANIE
39 #include "Reoptimizer.h"
40 #include "TVizirShare.h"
41 
42 #include "TDataServer.h"
43 #include "TRun.h"
44 #include "TEval.h"
45 
46 struct vzrtribe;
47 
48 namespace URANIE
49 {
50 namespace Reoptimizer
51 {
52 
54 {
55 protected:
56  int _ilot;
57 
58  void run(struct vzrtribe *all);
59 
60 public:
61  TVizirIsland(URANIE::DataServer::TDataServer *tds,
62  URANIE::Relauncher::TRun *run, TVizirSolver *algo);
63  TVizirIsland(URANIE::DataServer::TDataServer *tds,
64  URANIE::Relauncher::TEval *fun, TVizirSolver *algo);
65  virtual ~TVizirIsland()
66  {
67  }
68 
69  // parameter
70  void setIsland(int size)
71  {
72  _ilot = size;
73  }
74 
76  virtual void solverLoop();
78  virtual void extend(int mode);
79  virtual int item(int id, double *in, double *out);
80 
81  ClassDef(URANIE::Reoptimizer::TVizirIsland, ID_REOPTIMIZER)
82 };
83 
84 }
85 } //namespace
86 #endif
Definition: TCMAES.cxx:49
void run(struct vzrtribe *all)
Definition: TVizirIsland.cxx:66
virtual void solverLoop()
Definition: TVizirIsland.cxx:150
Definition: TVizirIsland.h:53
Definition: TVizirSolver.h:71
int _ilot
Definition: TVizirIsland.h:56
void setIsland(int size)
Definition: TVizirIsland.h:70
methodes communes aux algo de Vizir
TVizirIsland(URANIE::DataServer::TDataServer *tds, URANIE::Relauncher::TRun *run, TVizirSolver *algo)
Definition: TVizirIsland.cxx:51
virtual int item(int id, double *in, double *out)
Definition: TVizirIsland.cxx:181
virtual void extend(int mode)
Definition: TVizirIsland.cxx:175
Definition: TVizirShare.h:53
virtual ~TVizirIsland()
Definition: TVizirIsland.h:65