13 #ifndef mitkSVModelFitCostFunction_h
14 #define mitkSVModelFitCostFunction_h
16 #include <itkSingleValuedCostFunction.h>
40 void SetSample(
const SignalType &sampleSet)
override;
42 MeasureType GetValue(
const ParametersType& parameter)
const override;
43 void GetDerivative (
const ParametersType ¶meters,
DerivativeType &derivative)
const override;
45 unsigned int GetNumberOfParameters (
void)
const override;
50 itkSetMacro(DerivativeStepLength,
double);
51 itkGetConstMacro(DerivativeStepLength,
double);
55 virtual MeasureType CalcMeasure(
const ParametersType ¶meters,
const SignalType& signal)
const = 0;
69 double m_DerivativeStepLength;