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.9.0
/* @license-end */
TVizirSwarm.h
Go to the documentation of this file.
1
2// 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
43struct psomovebuild;
44
45namespace URANIE
46{
47namespace Reoptimizer
48{
49
51{
52public:
53 virtual ~TVizirMovement() {}
54 virtual struct psomovebuild *movement() = 0;
55
56 ClassDef(URANIE::Reoptimizer::TVizirMovement, ID_REOPTIMIZER)
57};
58
60{
61protected:
64
65public:
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
classe abstraite et racine pour les solvers de Vizir
Definition TVizirSwarm.h:51
virtual struct psomovebuild * movement()=0
virtual ~TVizirMovement()
Definition TVizirSwarm.h:53
Definition TVizirSolver.h:78
Definition TVizirSwarm.h:60
int _localpop
Definition TVizirSwarm.h:63
void setLocalSize(int pop, int step=3)
Definition TVizirSwarm.cxx:63
virtual struct vzragent * build(int, int, int, double)
Definition TVizirSwarm.cxx:70
void setMovement(TVizirMovement *move)
Set movement.
Definition TVizirSwarm.h:71
virtual ~TVizirSwarm()
Definition TVizirSwarm.cxx:58
int _localstep
Definition TVizirSwarm.h:63
TVizirMovement * _move
Definition TVizirSwarm.h:62
TVizirSwarm()
Definition TVizirSwarm.cxx:49
Definition TCMAES.h:70