English Français

Documentation / Developer's manual

Available modules

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / Modeler: TGPLooCostFunction.h Source File
Uranie / Modeler v4.9.0
/* @license-end */
TGPLooCostFunction.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
44#ifndef TGPLOOCOSTFUNCTION_H
45#define TGPLOOCOSTFUNCTION_H
46
48#include "Modeler.h"
49#include "TGPBuilder.h"
50#include "TShareEval.h"
51#include "TGPCostFunction.h"
52
54extern "C"
55{
56int gpLoo0(double *K, double *y, int n, double *loo);
57int gpLooh(double *H, double *K, double *y, int n, int p, double *loo);
58int gpLoohBayes(double *BetaPrior, double *QPrior, double *H, double *K, double *y, int n, int p, double *loo);
59}
60;
61
62namespace URANIE
63{
64namespace Modeler
65{
66//class TGPBuilder;
68{
69
70 // Attributes
71private:
72 Double_t* _BetaPrior;
73 Double_t* _QPrior;
74
75 // Operations
76public:
77 //---------------------------------------------
81
88
92
93 virtual URANIE::Relauncher::TEval *rebuild(int rank, Bool_t chef = kTRUE);
94 virtual Bool_t unbuild();
95
96 //---------------------------------------------
100
112 virtual Int_t eval(Double_t* theta, Double_t* res, int=0);
113 virtual Int_t eval(vector<URANIE::DataServer::UEntry*> *, vector<URANIE::DataServer::UEntry*> *, int=0);
115
116 //---------------------------------------------
117
118 ClassDef(URANIE::Modeler::TGPLooCostFunction, ID_MODELER)
119 //Classe de
120};
121
122} // Fin du namespace Modeler
123} // Fin du namespace URANIE
124#endif
Interface de la classe URANIE::Modeler::TGPBuilder.
Interface de la classe URANIE::Modeler::TGPCostFunction.
int gpLoo0(double *K, double *y, int n, double *loo)
int gpLoohBayes(double *BetaPrior, double *QPrior, double *H, double *K, double *y, int n, int p, double *loo)
int gpLooh(double *H, double *K, double *y, int n, int p, double *loo)
Description of the class TGPBuilder.
Definition TGPBuilder.h:87
Description of the class TGPCostFunction.
Definition TGPCostFunction.h:58
Description of the class TGPLooCostFunction.
Definition TGPLooCostFunction.h:68
Double_t * _BetaPrior
pointer to the a priori means of the deterministic trend parameters (size: _n * _p)
Definition TGPLooCostFunction.h:72
virtual Int_t eval(vector< URANIE::DataServer::UEntry * > *, vector< URANIE::DataServer::UEntry * > *, int=0)
TGPLooCostFunction(TGPBuilder *gpb)
Standard constructor.
virtual URANIE::Relauncher::TEval * rebuild(int rank, Bool_t chef=kTRUE)
Double_t * _QPrior
pointer to the a priori covariance matrix of the deterministic trend parameters (size: _n * _n)
Definition TGPLooCostFunction.h:73
virtual ~TGPLooCostFunction()
Default destructor.
virtual Int_t eval(Double_t *theta, Double_t *res, int=0)
Evaluate the cost function.
ROOT.
Definition TAnisp.h:164