English Français

Documentation / Developer's manual

Available modules

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / ReOptimizer: TVizirAnts.h Source File
Uranie / ReOptimizer v4.9.0
/* @license-end */
TVizirAnts.h
Go to the documentation of this file.
1/* --- Ansi C --- */
3// Copyright (C) 2024 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 __TVIZIRANTS__
28#define __TVIZIRANTS__
29
30//ROOT
31#include "Rtypes.h"
32#include "TObject.h"
33
34//Uranie
35#include "Reoptimizer.h"
36#include "TVizirSolver.h"
37
38struct acorun;
39
40namespace URANIE
41{
42namespace Reoptimizer
43{
44
46{
47public:
48 virtual ~TVizirPheromone() {}
49 virtual struct acorun *pheromone() = 0;
50
51 ClassDef(URANIE::Reoptimizer::TVizirPheromone, ID_REOPTIMIZER)
52};
53
55{
56protected:
58
59public:
60 TVizirAnts();
61 virtual ~TVizirAnts();
62
63 // set specific parameter
65 {
66 _phero = phero;
67 }
68
69 // protocole
70 virtual struct vzragent *build(int, int, int, double);
71 virtual Bool_t isCoded() {return kFALSE;}
72
73 ClassDef(URANIE::Reoptimizer::TVizirAnts, ID_REOPTIMIZER)
74};
75
76}} // namespace
77
78#endif //__TVIZIRANTS__
classe abstraite et racine pour les solvers de Vizir
Definition TVizirAnts.h:55
TVizirAnts()
Definition TVizirAnts.cxx:43
void setPheromone(TVizirPheromone *phero)
Definition TVizirAnts.h:64
virtual Bool_t isCoded()
Definition TVizirAnts.h:71
virtual struct vzragent * build(int, int, int, double)
Definition TVizirAnts.cxx:53
TVizirPheromone * _phero
Definition TVizirAnts.h:57
virtual ~TVizirAnts()
Definition TVizirAnts.cxx:50
Definition TVizirAnts.h:46
virtual struct acorun * pheromone()=0
virtual ~TVizirPheromone()
Definition TVizirAnts.h:48
Definition TVizirSolver.h:78
Definition TCMAES.h:70