English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / ReOptimizer: TCmaesSolver.h Source File
Uranie / ReOptimizer  v4.11.0
/* @license-end */
TCmaesSolver.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 __CMAESSOLVER__
28 #define __CMAESSOLVER__
29 
30 // ROOT
31 
32 // Uranie
33 #include "TOptimShare.h"
34 
35 #include "TDataServer.h"
36 #include "TRun.h"
37 
38 namespace URANIE {
39 namespace Reoptimizer {
40 
41 /*
42 struct cmaes_param {
43  double _ccoef, _cucoef, _ccovorig, _ccovtest;
44  double _cdcoef, _cudcoef, _cbeta, _Xi, _alpha;
45 };
46 */
47 
49 {
50 protected:
52 
53  //void initCmaesConst(struct cmaes_param *param);
54 
55 public:
56  TCmaesSolver();
57  virtual ~TCmaesSolver();
58 
59  // parameters
60  void setSize(int loop, int step, int pop);
61  void setUnbounded();
62  void setRejectBound();
63  void setReflexBound();
64 
65  // master
66  TOptimReprise *getMaster(URANIE::DataServer::TDataServer *tds,
67  URANIE::Relauncher::TRun *run);
68 
69 
70  ClassDef(URANIE::Reoptimizer::TCmaesSolver, ID_REOPTIMIZER)
71 };
72 
73 
74 }} // namespace
75 
76 #endif
Definition: TCmaesSolver.h:48
Definition: TCMAES.cxx:49
virtual ~TCmaesSolver()
Definition: TCmaesSolver.cxx:45
int _Nmu
Definition: TCmaesSolver.h:51
void setReflexBound()
Definition: TCmaesSolver.cxx:65
void setSize(int loop, int step, int pop)
Definition: TCmaesSolver.cxx:48
int _Ncycle
Definition: TCmaesSolver.h:51
TCmaesSolver()
Definition: TCmaesSolver.cxx:40
int _Nlambda
Definition: TCmaesSolver.h:51
TOptimReprise * getMaster(URANIE::DataServer::TDataServer *tds, URANIE::Relauncher::TRun *run)
Definition: TCmaesSolver.cxx:71
void setRejectBound()
Definition: TCmaesSolver.cxx:60
int _repair_point
Definition: TCmaesSolver.h:51
Definition: TOptimShare.h:150
methodes communes aux algo d optimisation
Definition: TOptimShare.h:134
void setUnbounded()
Definition: TCmaesSolver.cxx:55