English Français

Documentation / Developer's manual

Available modules

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / ReOptimizer: TVizirSwarm.h Source File
Uranie / ReOptimizer  v4.10.0
/* @license-end */
TVizirSwarm.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 __TVIZIRSWARM__
33 #define __TVIZIRSWARM__
34 
35 //ROOT
36 #include "Rtypes.h"
37 #include "TObject.h"
38 
39 //Uranie
40 #include "Reoptimizer.h"
41 #include "TVizirSolver.h"
42 
43 struct psomovebuild;
44 
45 namespace URANIE
46 {
47 namespace Reoptimizer
48 {
49 
51 {
52 public:
53  virtual ~TVizirMovement() {}
54  virtual struct psomovebuild *movement() = 0;
55 
56  ClassDef(URANIE::Reoptimizer::TVizirMovement, ID_REOPTIMIZER)
57 };
58 
60 {
61 protected:
64 
65 public:
66  TVizirSwarm();
67  virtual ~TVizirSwarm();
68 
69  //set specific parameter
72  {
73  _move = move;
74  }
75  void setLocalSize(int pop, int step = 3);
76 
77  // protocole
78  virtual struct vzragent *build(int, int, int, double);
79 
80  ClassDef(URANIE::Reoptimizer::TVizirSwarm, ID_REOPTIMIZER)
81 };
82 
83 }
84 } //namespace
85 #endif
86 
Definition: TCMAES.h:66
int _localstep
Definition: TVizirSwarm.h:63
int _localpop
Definition: TVizirSwarm.h:63
virtual struct vzragent * build(int, int, int, double)
Definition: TVizirSwarm.cxx:70
virtual ~TVizirMovement()
Definition: TVizirSwarm.h:53
Definition: TVizirSwarm.h:50
classe abstraite et racine pour les solvers de Vizir
void setLocalSize(int pop, int step=3)
Definition: TVizirSwarm.cxx:63
Definition: TVizirSwarm.h:59
virtual ~TVizirSwarm()
Definition: TVizirSwarm.cxx:58
void setMovement(TVizirMovement *move)
Set movement.
Definition: TVizirSwarm.h:71
TVizirSwarm()
Definition: TVizirSwarm.cxx:49
TVizirMovement * _move
Definition: TVizirSwarm.h:62
Definition: TVizirSolver.h:77
virtual struct psomovebuild * movement()=0