16 #error no need to expose this header to Swig
20 #ifndef BORNAGAIN_FIT_TESTENGINE_MINIMIZERTESTPLAN_H
21 #define BORNAGAIN_FIT_TESTENGINE_MINIMIZERTESTPLAN_H
58 double tolerance = 0.01);
Defines objective function to fit, expected minimum, initial fit parameters and expected values of fi...
std::vector< double > expectedValues() const
Return vector of expected parameter values.
std::vector< ParameterReference > m_parameter_references
bool valuesAsExpected(const std::vector< double > &values) const
Returns true if given values coincide with expected fit parameter values.
mumufit::Parameters parameters() const
Returns fit parameters which will be used as initial one for the minimization.
virtual bool checkMinimizer(mumufit::Minimizer &minimizer) const =0
Runs minimization and check minimization result.
virtual ~MinimizerTestPlan()
MinimizerTestPlan(std::vector< ParameterReference > parameter_references)
void addParameter(const mumufit::Parameter ¶m, double expected_value, double tolerance=0.01)
MinimizerTestPlan()=default
A main class to run fitting.
A fittable parameter with value, error, step, and limits.
A collection of fit parameters.
The multi-library, multi-algorithm fit wrapper library.
Defines initial settings of single fit parameter and the final value which has to be found in the cou...
const mumufit::Parameter parameter
initial parameter settings
const double tolerance
tolerance on found value wrt expected value
const double expected_value
expected value to find in the fit