ROOT logo
ROOT » MATH » GENETIC » ROOT::Math::GeneticMinimizer

class ROOT::Math::GeneticMinimizer: public ROOT::Math::Minimizer


  structure containing the parameters of the genetic minimizer

Function Members (Methods)

public:
virtual~GeneticMinimizer()
virtual voidClear()
virtual boolROOT::Math::Minimizer::Contour(unsigned int ivar, unsigned int jvar, unsigned int& npoints, double* xi, double* xj)
virtual doubleROOT::Math::Minimizer::Correlation(unsigned int i, unsigned int j) const
virtual doubleCovMatrix(unsigned int i, unsigned int j) const
virtual intROOT::Math::Minimizer::CovMatrixStatus() const
virtual doubleEdm() const
doubleROOT::Math::Minimizer::ErrorDef() const
virtual const double*Errors() const
virtual boolROOT::Math::Minimizer::FixVariable(unsigned int ivar)
ROOT::Math::GeneticMinimizerGeneticMinimizer(int i = 0)
virtual boolROOT::Math::Minimizer::GetCovMatrix(double* covMat) const
virtual boolROOT::Math::Minimizer::GetHessianMatrix(double* hMat) const
virtual boolROOT::Math::Minimizer::GetMinosError(unsigned int ivar, double& errLow, double& errUp, int option = 0)
virtual boolROOT::Math::Minimizer::GetVariableSettings(unsigned int ivar, ROOT::Fit::ParameterSettings&) const
virtual doubleROOT::Math::Minimizer::GlobalCC(unsigned int ivar) const
virtual boolROOT::Math::Minimizer::Hesse()
virtual boolROOT::Math::Minimizer::IsFixedVariable(unsigned int ivar) const
boolROOT::Math::Minimizer::IsValidError() const
unsigned intROOT::Math::Minimizer::MaxFunctionCalls() const
unsigned intROOT::Math::Minimizer::MaxIterations() const
virtual const double*MinGradient() const
virtual boolMinimize()
const ROOT::Math::GeneticMinimizerParameters&MinimizerParameters() const
virtual doubleMinValue() const
virtual unsigned intNCalls() const
virtual unsigned intNDim() const
virtual unsigned intNFree() const
virtual unsigned intROOT::Math::Minimizer::NIterations() const
virtual ROOT::Math::MinimizerOptionsOptions() const
doubleROOT::Math::Minimizer::Precision() const
intROOT::Math::Minimizer::PrintLevel() const
virtual voidROOT::Math::Minimizer::PrintResults()
virtual boolProvidesError() const
virtual boolROOT::Math::Minimizer::ReleaseVariable(unsigned int ivar)
virtual boolROOT::Math::Minimizer::Scan(unsigned int ivar, unsigned int& nstep, double* x, double* y, double xmin = 0, double xmax = 0)
voidROOT::Math::Minimizer::SetDefaultOptions()
voidROOT::Math::Minimizer::SetErrorDef(double up)
virtual boolSetFixedVariable(unsigned int ivar, const string& name, double val)
virtual voidSetFunction(const ROOT::Math::IMultiGenFunction& func)
virtual boolSetLimitedVariable(unsigned int, const string&, double, double, double, double)
virtual boolROOT::Math::Minimizer::SetLowerLimitedVariable(unsigned int ivar, const string& name, double val, double step, double lower)
voidROOT::Math::Minimizer::SetMaxFunctionCalls(unsigned int maxfcn)
voidROOT::Math::Minimizer::SetMaxIterations(unsigned int maxiter)
virtual voidSetOptions(const ROOT::Math::MinimizerOptions& opt)
voidSetParameters(const ROOT::Math::GeneticMinimizerParameters& params)
voidROOT::Math::Minimizer::SetPrecision(double prec)
voidROOT::Math::Minimizer::SetPrintLevel(int level)
voidSetRandomSeed(int seed)
voidROOT::Math::Minimizer::SetStrategy(int strategyLevel)
voidROOT::Math::Minimizer::SetTolerance(double tol)
virtual boolROOT::Math::Minimizer::SetUpperLimitedVariable(unsigned int ivar, const string& name, double val, double step, double upper)
voidROOT::Math::Minimizer::SetValidError(bool on)
virtual boolSetVariable(unsigned int ivar, const string& name, double val, double step)
virtual boolROOT::Math::Minimizer::SetVariableInitialRange(unsigned int, double, double)
virtual boolROOT::Math::Minimizer::SetVariableLimits(unsigned int ivar, double lower, double upper)
virtual boolROOT::Math::Minimizer::SetVariableLowerLimit(unsigned int ivar, double lower)
virtual boolROOT::Math::Minimizer::SetVariableStepSize(unsigned int ivar, double value)
virtual boolROOT::Math::Minimizer::SetVariableUpperLimit(unsigned int ivar, double upper)
virtual boolROOT::Math::Minimizer::SetVariableValue(unsigned int ivar, double value)
virtual boolROOT::Math::Minimizer::SetVariableValues(const double* x)
intROOT::Math::Minimizer::Status() const
intROOT::Math::Minimizer::Strategy() const
doubleROOT::Math::Minimizer::Tolerance() const
virtual intROOT::Math::Minimizer::VariableIndex(const string& name) const
virtual stringROOT::Math::Minimizer::VariableName(unsigned int ivar) const
virtual const double*X() const
protected:
voidGetGeneticOptions(ROOT::Math::MinimizerOptions& opt) const

Data Members

protected:
TMVA::IFitterTarget*fFitness
doublefMinValue
ROOT::Math::MinimizerOptionsROOT::Math::Minimizer::fOptionsminimizer options
ROOT::Math::GeneticMinimizerParametersfParameters
vector<TMVA::Interval*>fRanges
vector<double>fResult
intROOT::Math::Minimizer::fStatusstatus of minimizer
boolROOT::Math::Minimizer::fValidErrorflag to control if errors have been validated (Hesse has been run in case of Minuit)

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

GeneticMinimizer(int i = 0)
virtual ~GeneticMinimizer()
void Clear()
void SetFunction(const ROOT::Math::IMultiGenFunction& func)
bool SetLimitedVariable(unsigned int , const string& , double , double , double , double )
bool SetVariable(unsigned int ivar, const string& name, double val, double step)
bool SetFixedVariable(unsigned int ivar, const string& name, double val)
bool Minimize()
double MinValue() const
double Edm() const
const double * X() const
const double * MinGradient() const
unsigned int NCalls() const
unsigned int NDim() const
unsigned int NFree() const
bool ProvidesError() const
const double * Errors() const
double CovMatrix(unsigned int i, unsigned int j) const
void SetParameters(const ROOT::Math::GeneticMinimizerParameters& params)
void SetRandomSeed(int seed)
{ fParameters.fSeed = seed; }
void SetOptions(const ROOT::Math::MinimizerOptions& opt)
void GetGeneticOptions(ROOT::Math::MinimizerOptions& opt) const