English Français

Documentation / Developer's manual

Available modules

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / ReOptimizer: TFitGetter.h Source File
Uranie / ReOptimizer  v4.10.0
/* @license-end */
TFitGetter.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 __FIT_GETTER__
33 #define __FIT_GETTER__
34 
35 //ROOT
36 #include "Rtypes.h"
37 //#include "TNamed.h"
38 
39 // Uranie
40 //#include "Relaucnher.h"
41 
42 #include "TDataServer.h"
43 #include "TOptimFit.h"
44 
45 namespace URANIE
46 {
47 namespace Reoptimizer
48 {
49 
50 class TFitGetter: public TObject
51 {
52 protected:
53  URANIE::DataServer::TAttribute *_ref, *_grad;
55  int _rang, _rangg;
56 
57 public:
59  {
60  };
61 
62  TFitGetter(URANIE::DataServer::TAttribute *ref, TObjArray *all,
63  TOptimFit *fit);
64  TFitGetter(URANIE::DataServer::TAttribute *ref,
65  URANIE::DataServer::TAttribute *grd, TObjArray *all,
66  TOptimFit *fit);
67  ~TFitGetter();
68 
69  double from(double *from);
70  double from(int size, double *from, double *grad, double *to);
71  double from(vector<URANIE::DataServer::UEntry*> *from);
72  double from(int size, vector<URANIE::DataServer::UEntry*> *from,
73  vector<URANIE::DataServer::UEntry*> *grad, double *to);
74  double from(int size, vector<URANIE::DataServer::UEntry*> *from,
75  double *to);
76 
77 //ClassDef(URANIE::Reoptimizer::TFitGetter, ID_REOPTIMIZER)
78 };
79 
80 }
81 } //namespace
82 
83 #endif
Definition: TCMAES.h:66
objectifs et contraintes standards
~TFitGetter()
Definition: TFitGetter.cxx:77
TOptimFit * _fit
Definition: TFitGetter.h:54
Definition: TFitGetter.h:50
double from(double *from)
Definition: TFitGetter.cxx:81
int _rangg
Definition: TFitGetter.h:55
Definition: TOptimFit.h:47
int _rang
Definition: TFitGetter.h:55
URANIE::DataServer::TAttribute * _ref
Definition: TFitGetter.h:53
URANIE::DataServer::TAttribute * _grad
Definition: TFitGetter.h:53
TFitGetter(URANIE::DataServer::TAttribute *ref, TObjArray *all, TOptimFit *fit)
Definition: TFitGetter.cxx:40