Minimizer options.
Definition at line 32 of file MinimizerOptions.h.
Public Member Functions | |
MinimizerOptions () | |
MinimizerOptions (const MinimizerOptions &opt) | |
~MinimizerOptions () | |
double | ErrorDef () const |
error definition | |
const IOptions * | ExtraOptions () const |
return extra options (NULL pointer if they are not present) | |
unsigned int | MaxFunctionCalls () const |
max number of function calls | |
unsigned int | MaxIterations () const |
max iterations | |
const std::string & | MinimizerAlgorithm () const |
type of algorithm | |
const std::string & | MinimizerType () const |
type of minimizer | |
MinimizerOptions & | operator= (const MinimizerOptions &opt) |
assignment operators | |
double | Precision () const |
precision in the objective funciton calculation (value <=0 means left to default) | |
void | Print (std::ostream &os=std::cout) const |
print all the options | |
int | PrintLevel () const |
non-static methods for retrieving options | |
void | ResetToDefaultOptions () |
non-static methods for setting options | |
void | SetErrorDef (double err) |
set error def | |
void | SetExtraOptions (const IOptions &opt) |
set extra options (in this case pointer is cloned) | |
void | SetMaxFunctionCalls (unsigned int maxfcn) |
set maximum of function calls | |
void | SetMaxIterations (unsigned int maxiter) |
set maximum iterations (one iteration can have many function calls) | |
void | SetMinimizerAlgorithm (const char *type) |
set minimizer algorithm | |
void | SetMinimizerType (const char *type) |
set minimizer type | |
void | SetPrecision (double prec) |
set the precision | |
void | SetPrintLevel (int level) |
set print level | |
void | SetStrategy (int stra) |
set the strategy | |
void | SetTolerance (double tol) |
set the tolerance | |
int | Strategy () const |
strategy | |
double | Tolerance () const |
absolute tolerance | |
Static Public Member Functions | |
static ROOT::Math::IOptions & | Default (const char *name) |
retrieve extra options - if not existing create a IOptions | |
static double | DefaultErrorDef () |
static IOptions * | DefaultExtraOptions () |
static int | DefaultMaxFunctionCalls () |
static int | DefaultMaxIterations () |
static const std::string & | DefaultMinimizerAlgo () |
static const std::string & | DefaultMinimizerType () |
static double | DefaultPrecision () |
static int | DefaultPrintLevel () |
static int | DefaultStrategy () |
static double | DefaultTolerance () |
static ROOT::Math::IOptions * | FindDefault (const char *name) |
static void | PrintDefault (const char *name, std::ostream &os=std::cout) |
print all the default options for the name given | |
static void | SetDefaultErrorDef (double up) |
static void | SetDefaultExtraOptions (const IOptions *extraoptions) |
static void | SetDefaultMaxFunctionCalls (int maxcall) |
static void | SetDefaultMaxIterations (int maxiter) |
static void | SetDefaultMinimizer (const char *type, const char *algo=0) |
static void | SetDefaultPrecision (double prec) |
static void | SetDefaultPrintLevel (int level) |
static void | SetDefaultStrategy (int strat) |
static void | SetDefaultTolerance (double tol) |
Private Attributes | |
std::string | fAlgoType |
double | fErrorDef |
ROOT::Math::IOptions * | fExtraOptions |
int | fLevel |
int | fMaxCalls |
int | fMaxIter |
std::string | fMinimType |
double | fPrecision |
int | fStrategy |
double | fTolerance |
#include <Math/MinimizerOptions.h>
ROOT::Math::MinimizerOptions::MinimizerOptions | ( | ) |
Definition at line 125 of file MinimizerOptions.cxx.
ROOT::Math::MinimizerOptions::~MinimizerOptions | ( | ) |
Definition at line 158 of file MinimizerOptions.cxx.
ROOT::Math::MinimizerOptions::MinimizerOptions | ( | const MinimizerOptions & | opt | ) |
Definition at line 134 of file MinimizerOptions.cxx.
|
static |
retrieve extra options - if not existing create a IOptions
Definition at line 219 of file MinimizerOptions.cxx.
|
static |
Definition at line 83 of file MinimizerOptions.cxx.
|
static |
Definition at line 90 of file MinimizerOptions.cxx.
|
static |
Definition at line 86 of file MinimizerOptions.cxx.
|
static |
Definition at line 87 of file MinimizerOptions.cxx.
|
static |
Definition at line 82 of file MinimizerOptions.cxx.
|
static |
Definition at line 92 of file MinimizerOptions.cxx.
|
static |
Definition at line 85 of file MinimizerOptions.cxx.
|
static |
Definition at line 89 of file MinimizerOptions.cxx.
|
static |
Definition at line 88 of file MinimizerOptions.cxx.
|
static |
Definition at line 84 of file MinimizerOptions.cxx.
|
inline |
error definition
Definition at line 103 of file MinimizerOptions.h.
|
inline |
return extra options (NULL pointer if they are not present)
Definition at line 106 of file MinimizerOptions.h.
|
static |
Definition at line 224 of file MinimizerOptions.cxx.
|
inline |
max number of function calls
Definition at line 88 of file MinimizerOptions.h.
|
inline |
max iterations
Definition at line 91 of file MinimizerOptions.h.
|
inline |
type of algorithm
Definition at line 112 of file MinimizerOptions.h.
|
inline |
type of minimizer
Definition at line 109 of file MinimizerOptions.h.
MinimizerOptions & ROOT::Math::MinimizerOptions::operator= | ( | const MinimizerOptions & | opt | ) |
assignment operators
Definition at line 139 of file MinimizerOptions.cxx.
|
inline |
precision in the objective funciton calculation (value <=0 means left to default)
Definition at line 100 of file MinimizerOptions.h.
void ROOT::Math::MinimizerOptions::Print | ( | std::ostream & | os = std::cout | ) | const |
print all the options
Definition at line 201 of file MinimizerOptions.cxx.
|
static |
print all the default options for the name given
Definition at line 229 of file MinimizerOptions.cxx.
|
inline |
non-static methods for retrieving options
set print level
Definition at line 85 of file MinimizerOptions.h.
void ROOT::Math::MinimizerOptions::ResetToDefaultOptions | ( | ) |
non-static methods for setting options
Definition at line 162 of file MinimizerOptions.cxx.
Definition at line 48 of file MinimizerOptions.cxx.
Definition at line 76 of file MinimizerOptions.cxx.
Definition at line 60 of file MinimizerOptions.cxx.
Definition at line 64 of file MinimizerOptions.cxx.
|
static |
Definition at line 43 of file MinimizerOptions.cxx.
Definition at line 56 of file MinimizerOptions.cxx.
Definition at line 72 of file MinimizerOptions.cxx.
Definition at line 68 of file MinimizerOptions.cxx.
Definition at line 52 of file MinimizerOptions.cxx.
set error def
Definition at line 139 of file MinimizerOptions.h.
set extra options (in this case pointer is cloned)
Definition at line 195 of file MinimizerOptions.cxx.
set maximum of function calls
Definition at line 124 of file MinimizerOptions.h.
set maximum iterations (one iteration can have many function calls)
Definition at line 127 of file MinimizerOptions.h.
|
inline |
set minimizer algorithm
Definition at line 145 of file MinimizerOptions.h.
|
inline |
set minimizer type
Definition at line 142 of file MinimizerOptions.h.
set the precision
Definition at line 133 of file MinimizerOptions.h.
set print level
Definition at line 121 of file MinimizerOptions.h.
set the strategy
Definition at line 136 of file MinimizerOptions.h.
set the tolerance
Definition at line 130 of file MinimizerOptions.h.
|
inline |
strategy
Definition at line 94 of file MinimizerOptions.h.
|
inline |
absolute tolerance
Definition at line 97 of file MinimizerOptions.h.
|
private |
Definition at line 161 of file MinimizerOptions.h.
|
private |
Definition at line 157 of file MinimizerOptions.h.
|
private |
Definition at line 164 of file MinimizerOptions.h.
|
private |
Definition at line 153 of file MinimizerOptions.h.
|
private |
Definition at line 154 of file MinimizerOptions.h.
|
private |
Definition at line 155 of file MinimizerOptions.h.
|
private |
Definition at line 160 of file MinimizerOptions.h.
|
private |
Definition at line 159 of file MinimizerOptions.h.
|
private |
Definition at line 156 of file MinimizerOptions.h.
|
private |
Definition at line 158 of file MinimizerOptions.h.