15 #ifndef BORNAGAIN_FIT_TESTENGINE_MINIMIZERTESTPLAN_H
16 #define BORNAGAIN_FIT_TESTENGINE_MINIMIZERTESTPLAN_H
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.
void addParameter(const Fit::Parameter ¶m, double expected_value, double tolerance=0.01)
MinimizerTestPlan(const std::string &name)
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
virtual ~MinimizerTestPlan()
std::vector< ParameterPlan > m_parameter_plan
Objective function types.