15 const unsigned int length = member.size() / 3;
19 for (
unsigned int i = 1; i < length; ++i)
21 roughness += std::pow((member(i) - member(i - 1)), fitexp);
Calculate the roughness for the MT part of a joint MT-seismic model as used by 1dinvga.
ublas::vector< double > ttranscribed
virtual double PostParallel(const ttranscribed &member)
Some operations cannot be done in parallel, these are done after, returns the misfit value...
GeneralObjective & operator=(const GeneralObjective &source)
int GetFitExponent()
Get the Fit exponent.
double GetRMS()
Get the current RMS.
virtual void SafeParallel(const ttranscribed &member)
The core performance calculation, has to be safe to be done in parallel.
The basic object for any objective function, mainly an interface class and some storage.
MTRoughness & operator=(const MTRoughness &source)
void SetRMS(const double x)