English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / Modeler: TGPMLCostFunction.h Source File
Uranie / Modeler v4.9.0
/* @license-end */
TGPMLCostFunction.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
6// by 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$
22// $State$
24
45#ifndef TGPMLCOSTFUNCTION_H
46#define TGPMLCOSTFUNCTION_H
47
49#include "Modeler.h"
50#include "TGPBuilder.h"
51#include "TShareEval.h"
52#include "TGPCostFunction.h"
53
55extern "C"
56{
57int gpML0(double *K, double *y, int n, double *ml, int cas);
58int gpMLh(double *H, double *K, double *y, int n, int p, double *ml, int cas);
59}
60;
61
62namespace URANIE
63{
64namespace Modeler
65{
66//class TGPBuilder;
68{
69
70 // Operations
71public:
72 //---------------------------------------------
76
84
88
89 virtual URANIE::Relauncher::TEval *rebuild(int rank, Bool_t chef = kTRUE);
90 virtual Bool_t unbuild();
91
92 //---------------------------------------------
96
108 virtual Int_t eval(Double_t* theta, Double_t* res, int=0);
109 virtual Int_t eval(vector<URANIE::DataServer::UEntry*> *, vector<URANIE::DataServer::UEntry*> *, int=0);
110
112
113 //---------------------------------------------
114
115 ClassDef(URANIE::Modeler::TGPMLCostFunction, ID_MODELER)
116 //Classe de
117};
118
119} // Fin du namespace Modeler
120} // Fin du namespace URANIE
121#endif
Interface de la classe URANIE::Modeler::TGPBuilder.
Interface de la classe URANIE::Modeler::TGPCostFunction.
int gpMLh(double *H, double *K, double *y, int n, int p, double *ml, int cas)
int gpML0(double *K, double *y, int n, double *ml, int cas)
Description of the class TGPBuilder.
Definition TGPBuilder.h:87
Description of the class TGPCostFunction.
Definition TGPCostFunction.h:58
Description of the class TGPMLCostFunction.
Definition TGPMLCostFunction.h:68
virtual Int_t eval(Double_t *theta, Double_t *res, int=0)
Evaluate the cost function.
TGPMLCostFunction(TGPBuilder *gpb)
Standard constructor.
virtual Int_t eval(vector< URANIE::DataServer::UEntry * > *, vector< URANIE::DataServer::UEntry * > *, int=0)
virtual URANIE::Relauncher::TEval * rebuild(int rank, Bool_t chef=kTRUE)
virtual ~TGPMLCostFunction()
Default destructor.
ROOT.
Definition TAnisp.h:164