class MisFitFcn : public ObjectiveFunction

A misfit objective function

Inheritance:


public members:

MisFitFcn ()
MisFitFcn ( int n , Forward * p , Vector <double>* d, int lp)
Constructor
int n
dimension of the Model space
Forward *p
pointer to a Forward operator class
Vector <double>* d
pointer to the data Vector
int lp
$l_p$ norm. $l_p=2$, least-square criterian
int getOrder () const
returns lp
int experiments () const
returns number of iterations
const char* className () const
returns name of the current class
const char* forwardName () const
returns name of the Forward class
Vector <double>* getGradient (const Model <double>& m)
evaluate gradient Vector for Model $m$
Vector <double>* getGradient (const Model <long>&)
Vector <double> updateError (const Model <double>& m)
evaluate lp-norm error for Model $m$
Vector <double> updateError (const Model <long>& m)
Vector <double> observedData () const
returns the observed data Vector
Vector <double> currentError () const
returns the error Vector between observed and calculated
Vector <double> operateOn (const Vector <double>&)
Forward operator applied to double vector $v$
Vector <double> operateOn (const Vector <long>&)
Forward operator applied to long vector $v$
double operateOn (int, const Vector <double>&)
double operateOn (int, const Vector <long>&)
Vector <double> adjointOperation (const Vector <double> &)
adjoint of the Forward operator operates on Vector v; mostly used when the Forward is a LinForward
Vector <double> getOneOperator (int)
Vector <double> getRefData ()

protected members:

double realPerformance (const Model <long>&)
double realPerformance (const Model <double>&)

Inherited from ObjectiveFunction:

public members:

double performance(const Model <long>&)
double performance(const Model <double>&)
double performance(const Model <float>&)
int iterations() const

Documentation

MisFitFcn is a derived class of objective function which measures the least-square error between the observed and calculated data set. The calculated data set are passed by the Forward operator which needs to be defined when constructing the MisFitFcn class.

MisFitFcn currently only takes Models either double or long integer. It is mostly because I tried to avoid using templates, due to the guliness of template features in G++. Hopefully, this could be changed soon.


this class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling