queso-0.57.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
QUESO::InfiniteDimensionalLikelihoodBase Class Referenceabstract

Abstract class representing the likelihood. Users must subclass this. More...

#include <InfiniteDimensionalLikelihoodBase.h>

Public Member Functions

 InfiniteDimensionalLikelihoodBase (double obs_stddev)
 Construct a likelihood functional with obs_stddev as the observational error standard deviation. More...
 
virtual ~InfiniteDimensionalLikelihoodBase ()
 Destructor. More...
 
virtual void set_obs_stddev (double stddev)
 Set the observation standard deviation. More...
 
virtual double obs_stddev () const
 Return the observation standard deviation. More...
 
virtual double evaluate (FunctionBase &flow)=0
 Evaluate the likelihood functional at flow. Subclasses must implement this method. More...
 

Private Attributes

double _obs_stddev
 

Detailed Description

Abstract class representing the likelihood. Users must subclass this.

This is the class you must subclass to evaluate your forward problem. The evaluation should be implemented in the evaluate() method.

Definition at line 42 of file InfiniteDimensionalLikelihoodBase.h.

Constructor & Destructor Documentation

QUESO::InfiniteDimensionalLikelihoodBase::InfiniteDimensionalLikelihoodBase ( double  obs_stddev)

Construct a likelihood functional with obs_stddev as the observational error standard deviation.

Definition at line 28 of file InfiniteDimensionalLikelihoodBase.C.

31 {
32 }
virtual double obs_stddev() const
Return the observation standard deviation.
QUESO::InfiniteDimensionalLikelihoodBase::~InfiniteDimensionalLikelihoodBase ( )
virtual

Destructor.

Definition at line 34 of file InfiniteDimensionalLikelihoodBase.C.

35 {
36 }

Member Function Documentation

virtual double QUESO::InfiniteDimensionalLikelihoodBase::evaluate ( FunctionBase flow)
pure virtual

Evaluate the likelihood functional at flow. Subclasses must implement this method.

Referenced by QUESO::InfiniteDimensionalMCMCSampler::_metropolis_hastings(), and QUESO::InfiniteDimensionalMCMCSampler::InfiniteDimensionalMCMCSampler().

double QUESO::InfiniteDimensionalLikelihoodBase::obs_stddev ( ) const
virtual

Return the observation standard deviation.

Definition at line 43 of file InfiniteDimensionalLikelihoodBase.C.

References _obs_stddev.

void QUESO::InfiniteDimensionalLikelihoodBase::set_obs_stddev ( double  stddev)
virtual

Set the observation standard deviation.

Definition at line 38 of file InfiniteDimensionalLikelihoodBase.C.

References _obs_stddev.

Member Data Documentation

double QUESO::InfiniteDimensionalLikelihoodBase::_obs_stddev
private

Definition at line 61 of file InfiniteDimensionalLikelihoodBase.h.

Referenced by obs_stddev(), and set_obs_stddev().


The documentation for this class was generated from the following files:

Generated on Tue Jun 5 2018 19:49:09 for queso-0.57.1 by  doxygen 1.8.5