15 #ifndef BORNAGAIN_FIT_TESTENGINE_MINIMIZERTESTPLAN_H
16 #define BORNAGAIN_FIT_TESTENGINE_MINIMIZERTESTPLAN_H
38 void addParameter(
const Fit::Parameter& param,
double expected_value,
double tolerance = 0.01);
40 std::string name()
const {
return m_name; }
51 std::vector<ParameterPlan> m_parameter_plan;
Defines class ParameterPlan.
A main class to run fitting.
A fittable parameter with value, error, step, and limits.
A collection of fit parameters.
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.
bool valuesAsExpected(const std::vector< double > &values) const
Returns true if given values coincide with expected fit parameter values.
Fit::Parameters parameters() const
Returns fit parameters which will be used as initial one for the minimization.
virtual bool checkMinimizer(Fit::Minimizer &minimizer)=0
Runs minimization and check minimization result.
std::string m_name
plan name
Objective function types.