queso-0.57.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
InfiniteDimensionalLikelihoodBase.h
Go to the documentation of this file.
1 //--------------------------------------------------------------------------
2 //
3 // QUESO - a library to support the Quantification of Uncertainty
4 // for Estimation, Simulation and Optimization
5 //
6 // Copyright (C) 2008,2009,2010,2011,2012,2013 The PECOS Development Team
7 //
8 // This library is free software; you can redistribute it and/or
9 // modify it under the terms of the Version 2.1 GNU Lesser General
10 // Public License as published by the Free Software Foundation.
11 //
12 // This library is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 // Lesser General Public License for more details.
16 //
17 // You should have received a copy of the GNU Lesser General Public
18 // License along with this library; if not, write to the Free Software
19 // Foundation, Inc. 51 Franklin Street, Fifth Floor,
20 // Boston, MA 02110-1301 USA
21 //
22 //-----------------------------------------------------------------------el-
23 
24 #ifndef QUESO_INFINITE_LIKELIHOOD_H
25 #define QUESO_INFINITE_LIKELIHOOD_H
26 
27 namespace QUESO {
28 
29 class FunctionBase;
30 
43 {
44 public:
47 
50 
52  virtual void set_obs_stddev(double stddev);
53 
55  virtual double obs_stddev() const;
56 
58  virtual double evaluate(FunctionBase & flow) = 0;
59 
60 private:
61  double _obs_stddev;
62 };
63 
64 } // End namespace QUESO
65 
66 #endif // QUESO_INFINITE_LIKELIHOOD_H
InfiniteDimensionalLikelihoodBase(double obs_stddev)
Construct a likelihood functional with obs_stddev as the observational error standard deviation...
Abstract class representing the likelihood. Users must subclass this.
virtual double obs_stddev() const
Return the observation standard deviation.
virtual void set_obs_stddev(double stddev)
Set the observation standard deviation.
Abstract base class for function objects.
Definition: FunctionBase.h:47
virtual double evaluate(FunctionBase &flow)=0
Evaluate the likelihood functional at flow. Subclasses must implement this method.

Generated on Tue Jun 5 2018 19:48:54 for queso-0.57.1 by  doxygen 1.8.5