queso-0.57.1
|
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 |
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.
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.
|
virtual |
|
pure virtual |
Evaluate the likelihood functional at flow
. Subclasses must implement this method.
Referenced by QUESO::InfiniteDimensionalMCMCSampler::_metropolis_hastings(), and QUESO::InfiniteDimensionalMCMCSampler::InfiniteDimensionalMCMCSampler().
|
virtual |
Return the observation standard deviation.
Definition at line 43 of file InfiniteDimensionalLikelihoodBase.C.
References _obs_stddev.
|
virtual |
Set the observation standard deviation.
Definition at line 38 of file InfiniteDimensionalLikelihoodBase.C.
References _obs_stddev.
|
private |
Definition at line 61 of file InfiniteDimensionalLikelihoodBase.h.
Referenced by obs_stddev(), and set_obs_stddev().