15 #ifndef BORNAGAIN_FIT_MINIMIZER_TESTMINIMIZER_H
16 #define BORNAGAIN_FIT_MINIMIZER_TESTMINIMIZER_H
Defines class IMinimizer.
std::function< double(const std::vector< double > &)> scalar_function_t
std::function< double(const Fit::Parameters &)> fcn_scalar_t
Result of minimization round.
A collection of fit parameters.
Pure virtual interface for all kind minimizers.
A trivial minimizer that calls the objective function once. Used to test the whole chain.
std::vector< double > m_parameter_values
std::string minimizerName() const final
return name of the minimizer
~TestMinimizer() override
Fit::MinimizerResult minimize_scalar(fcn_scalar_t fcn, Fit::Parameters parameters) override
run minimization
std::string algorithmName() const final
return name of the minimization algorithm