11 #ifndef ROOT_Math_MinimizerOptions 12 #define ROOT_Math_MinimizerOptions 66 static void PrintDefault(
const char * name, std::ostream & os = std::cout);
115 void Print(std::ostream & os = std::cout)
const;
static int DefaultMaxFunctionCalls()
unsigned int MaxFunctionCalls() const
max number of function calls
const std::string & MinimizerAlgorithm() const
type of algorithm
void SetPrintLevel(int level)
set print level
void SetTolerance(double tol)
set the tolerance
void SetMaxIterations(unsigned int maxiter)
set maximum iterations (one iteration can have many function calls)
Namespace for new ROOT classes and functions.
void SetMinimizerType(const char *type)
set minimizer type
void Print(std::ostream &os=std::cout) const
print all the options
static int DefaultStrategy()
static IOptions * DefaultExtraOptions()
const IOptions * ExtraOptions() const
return extra options (NULL pointer if they are not present)
static void SetDefaultExtraOptions(const IOptions *extraoptions)
void SetErrorDef(double err)
set error def
static void SetDefaultMaxIterations(int maxiter)
unsigned int MaxIterations() const
max iterations
const std::string & MinimizerType() const
type of minimizer
static ROOT::Math::IOptions & Default(const char *name)
retrieve extra options - if not existing create a IOptions
void ResetToDefaultOptions()
non-static methods for setting options
static void SetDefaultPrintLevel(int level)
void SetPrecision(double prec)
set the precision
MinimizerOptions & operator=(const MinimizerOptions &opt)
assignment operators
int PrintLevel() const
non-static methods for retrieving options
static double DefaultPrecision()
void SetExtraOptions(const IOptions &opt)
set extra options (in this case pointer is cloned)
static void SetDefaultErrorDef(double up)
int Strategy() const
strategy
double Precision() const
precision in the objective funciton calculation (value <=0 means left to default) ...
static void SetDefaultStrategy(int strat)
static void SetDefaultMaxFunctionCalls(int maxcall)
static ROOT::Math::IOptions * FindDefault(const char *name)
void SetMaxFunctionCalls(unsigned int maxfcn)
set maximum of function calls
static const std::string & DefaultMinimizerType()
static void PrintDefault(const char *name, std::ostream &os=std::cout)
print all the default options for the name given
ROOT::Math::IOptions * fExtraOptions
static int DefaultPrintLevel()
static double DefaultErrorDef()
static int DefaultMaxIterations()
static const std::string & DefaultMinimizerAlgo()
double Tolerance() const
absolute tolerance
static void SetDefaultTolerance(double tol)
static void SetDefaultPrecision(double prec)
Namespace for new Math classes and functions.
Generic interface for defining configuration options of a numerical algorithm.
void SetStrategy(int stra)
set the strategy
double ErrorDef() const
error definition
static void SetDefaultMinimizer(const char *type, const char *algo=0)
static double DefaultTolerance()
void SetMinimizerAlgorithm(const char *type)
set minimizer algorithm