English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / ReOptimizer: TVizir2.h Source File
Uranie / ReOptimizer v4.9.0
/* @license-end */
TVizir2.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 __VIZIR2__
33#define __VIZIR2__
34
35//ROOT
36#include "Rtypes.h"
37#include "TNamed.h"
38
39// Uranie
40#include "Reoptimizer.h"
41#include "TVizirShare.h"
42
43#include "TDataServer.h"
44#include "TEval.h"
45
46namespace URANIE
47{
48namespace Reoptimizer
49{
50
51class TVizir2: public TVizirShare
52{
53protected:
54 struct vzragent *_agent;
55
56 void run(int cpus);
57
58public:
59 TVizir2(URANIE::DataServer::TDataServer *tds, URANIE::Relauncher::TRun *fun,
60 TVizirSolver *algo);
61 TVizir2(URANIE::DataServer::TDataServer *tds,
62 URANIE::Relauncher::TEval *fun, TVizirSolver *algo);
63 virtual ~TVizir2();
64
66 virtual void solverLoop();
68 bool isConverged();
69 void extend(int more);
70 void fitnessChanged();
71
72 int item(int id, double *zone, double *front, int *rank, int *age, int *info, double *isol);
73
74 ClassDef(URANIE::Reoptimizer::TVizir2, ID_REOPTIMIZER)
75};
76
77}
78} //namespace
79#endif
methodes communes aux algo de Vizir
Definition TVizir2.h:52
bool isConverged()
Definition TVizir2.cxx:182
struct vzragent * _agent
Definition TVizir2.h:54
void extend(int more)
Definition TVizir2.cxx:187
virtual void solverLoop()
Definition TVizir2.cxx:160
void fitnessChanged()
Definition TVizir2.cxx:192
int item(int id, double *zone, double *front, int *rank, int *age, int *info, double *isol)
Definition TVizir2.cxx:197
virtual ~TVizir2()
Definition TVizir2.cxx:64
void run(int cpus)
Definition TVizir2.cxx:74
Definition TVizirShare.h:54
Definition TVizirSolver.h:66
Definition TCMAES.h:70