16 #error no need to expose this header to Swig
20 #ifndef BORNAGAIN_FIT_ADAPTER_GENETICMINIMIZER_H
21 #define BORNAGAIN_FIT_ADAPTER_GENETICMINIMIZER_H
61 std::map<std::string, std::string>
statusMap()
const override;
Declares class MinimizerAdapter.
Wrapper for the CERN ROOT Genetic minimizer.
void setTolerance(double value)
Sets tolerance on the function value at the minimum.
void setPopulationSize(int value)
Sets population size.
virtual void setParameter(unsigned int index, const mumufit::Parameter &par)
std::unique_ptr< ROOT::Math::GeneticMinimizer > m_genetic_minimizer
std::map< std::string, std::string > statusMap() const override
Returns map of string representing different minimizer statuses.
const root_minimizer_t * rootMinimizer() const override
std::string statusToString() const override
Returns string representation of current minimizer status.
void propagateOptions() override
void setPrintLevel(int value)
Sets minimizer internal print level.
void setRandomSeed(int value)
Sets random seed.
int populationSize() const
void setMaxIterations(int value)
Sets maximum number of iterations to try at each step.
int maxIterations() const
Abstract base class that adapts the CERN ROOT minimizer to our IMinimizer.
virtual void setParameter(unsigned int index, const mumufit::Parameter &par)
ROOT::Math::Minimizer root_minimizer_t
A fittable parameter with value, error, step, and limits.