12#ifndef ROOT_Math_GeneticMinimizer
13#define ROOT_Math_GeneticMinimizer
69 void Clear()
override;
73 bool SetLimitedVariable(
unsigned int ,
const std::string& ,
double ,
double ,
double,
double)
override;
74 bool SetVariable(
unsigned int ivar,
const std::string &
name,
double val,
double step)
override;
79 double Edm()
const override;
80 const double *
X()
const override;
82 unsigned int NCalls()
const override;
84 unsigned int NDim()
const override;
85 unsigned int NFree()
const override;
88 const double *
Errors()
const override;
90 double CovMatrix(
unsigned int i,
unsigned int j)
const override;
const double * X() const override
const GeneticMinimizerParameters & MinimizerParameters() const
unsigned int NDim() const override
this is <= Function().NDim() which is the total number of variables (free+ constrained ones)
double CovMatrix(unsigned int i, unsigned int j) const override
void SetRandomSeed(int seed)
unsigned int NFree() const override
Number of free variables (real dimension of the problem).
bool SetLimitedVariable(unsigned int, const std::string &, double, double, double, double) override
Set a new upper/lower limited variable (override if minimizer supports them) otherwise as default set...
virtual void SetOptions(const ROOT::Math::MinimizerOptions &opt)
double MinValue() const override
const double * Errors() const override
unsigned int NCalls() const override
Number of function calls to reach the minimum.
bool Minimize() override
Method to perform the minimization.
void GetGeneticOptions(ROOT::Math::MinimizerOptions &opt) const
bool ProvidesError() const override
Minimizer provides error and error matrix.
bool SetVariable(unsigned int ivar, const std::string &name, double val, double step) override
Set a new free variable.
std::vector< double > fResult
TMVA::IFitterTarget * fFitness
std::vector< TMVA::Interval * > fRanges
GeneticMinimizer(int i=0)
void SetParameters(const GeneticMinimizerParameters ¶ms)
const double * MinGradient() const override
double Edm() const override
~GeneticMinimizer() override
void Clear() override
Reset for consecutive minimization - implement if needed.
ROOT::Math::MinimizerOptions Options() const override
Retrieve the minimizer options (implement derived class if needed).
GeneticMinimizerParameters fParameters
void SetFunction(const ROOT::Math::IMultiGenFunction &func) override
Set the function to minimize.
bool SetFixedVariable(unsigned int ivar, const std::string &name, double val) override
Set a new fixed variable (override if minimizer supports them).
Documentation for the abstract class IBaseFunctionMultiDim.
Abstract Minimizer class, defining the interface for the various minimizer (like Minuit2,...
virtual void SetFunction(const ROOT::Math::IMultiGenFunction &func)=0
Set the function to minimize.
Interface for a fitter 'target'.
The TMVA::Interval Class.
Namespace for new Math classes and functions.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
create variable transformations
GeneticMinimizerParameters()