33 #include "gsl/gsl_monte_vegas.h" 45 mode = GSL_VEGAS_MODE_IMPORTANCE;
65 if (ret)
stage = ival;
92 min_calls = (dim>0) ? 16*dim : 160;
93 min_calls_per_bisection = 32*min_calls;
111 if (ret)
alpha = val;
113 if (ret) dither = val;
115 if (ret) estimate_frac = val;
117 if (ret) min_calls = ival;
118 ret = opt.
GetIntValue(
"min_calls_per_bisection",ival);
119 if (ret) min_calls_per_bisection = ival;
130 opt->
SetIntValue(
"min_calls_per_bisection",min_calls_per_bisection);
Namespace for new ROOT classes and functions.
void SetDefaultValues(size_t dim=10)
default MISER parameters (copied from gsl/monte/vegas.c)
structures collecting parameters for MISER multidimensional integration
MiserParameters(size_t dim=10)
structures collecting parameters for VEGAS multidimensional integration FOr implementation of default...
virtual bool GetRealValue(const char *, double &) const
virtual void SetRealValue(const char *name, double val)
method wich need to be re-implemented by the derived classes
void SetDefaultValues()
default VEGAS parameters (copied from gsl/monte/vegas.c)
virtual bool GetIntValue(const char *, int &) const
class implementing generic options for a numerical algorithm Just store the options in a map of strin...
ROOT::Math::IOptions * operator()() const
convert to options (return object is managed by the user)
ROOT::Math::IOptions * operator()() const
convert to options (return object is managed by the user)
MiserParameters & operator=(const ROOT::Math::IOptions &opt)
Namespace for new Math classes and functions.
VegasParameters & operator=(const ROOT::Math::IOptions &opt)
Generic interface for defining configuration options of a numerical algorithm.
virtual void SetIntValue(const char *name, int val)