40 metric_combo << QString::fromStdString(
item);
43 ->
setToolTip(
"Objective metric to use for estimating distance between simulated and "
44 "experimental data.");
48 norm_combo << QString::fromStdString(
item);
51 ->
setToolTip(
"Normalization to use for estimating distance between simulated and "
52 "experimental data.");
57 return groupItem<MinimizerItem>(
P_MINIMIZERS).createMinimizer();
81 ->
setToolTip(
"Minimization strategy (0-low, 1-medium, 2-high quality)");
84 ->
setToolTip(
"Error definition factor for parameter error calculation");
107 return std::unique_ptr<IMinimizer>(domainMinimizer);
127 return std::unique_ptr<IMinimizer>(domainMinimizer);
152 return std::unique_ptr<IMinimizer>(domainMinimizer);
186 return std::unique_ptr<IMinimizer>(domainMinimizer);
205 return std::unique_ptr<IMinimizer>(domainMinimizer);
Declares class GSLLevenbergMarquardtMinimizer.
Declares class GSLMultiMinimizer.
Declares class GeneticMinimizer.
Defines MinimizerItemCatalog class.
Defines MinimizerItem class.
Declares class Minuit2Minimizer.
Defines ObjectiveMetric utilities and corresponding namespace.
Defines ObjectiveMetric classes.
Declares class SimAnMinimizer.
Defines class TestMinimizer.
Custom property to define list of string values with multiple selections.
QVariant variant() const
Constructs variant enclosing given ComboProperty.
void setValue(const QString &name)
static const QString P_TOLERANCE
static const QString P_MAXITERATIONS
std::unique_ptr< IMinimizer > createMinimizer() const
It's a facade to ROOT::Math::GSLNLSMinimizer which, in turn, is a facade to the actual GSL's gsl_mult...
void setMaxIterations(int value)
Sets maximum number of iterations.
void setTolerance(double value)
Sets tolerance on the function value at the minimum.
std::unique_ptr< IMinimizer > createMinimizer() const
static const QString P_MAXITERATIONS
static const QString P_ALGORITHMS
Wrapper for the CERN ROOT facade of the GSL multi minimizer family (gradient descent based).
void setMaxIterations(int value)
Sets maximum number of iterations.
static const QString P_TOLERANCE
std::unique_ptr< IMinimizer > createMinimizer() const
static const QString P_RANDOMSEED
static const QString P_POPULATIONSIZE
static const QString P_MAXITERATIONS
Wrapper for the CERN ROOT Genetic minimizer.
void setTolerance(double value)
Sets tolerance on the function value at the minimum.
void setPopulationSize(int value)
Sets population size.
void setRandomSeed(int value)
Sets random seed.
void setMaxIterations(int value)
Sets maximum number of iterations to try at each step.
static const QString P_NORM
static const QString P_METRIC
std::unique_ptr< IMinimizer > createMinimizer() const
static const QString P_MINIMIZERS
std::unique_ptr< ObjectiveMetric > createMetric() const
static ComboProperty algorithmCombo(const QString &minimizerType)
Returns ComboProperty representing list of algorithms defined for given minimizerType.
The MinimizerItem class is the base item to hold minimizer settings.
MinimizerItem(const QString &model_type)
Wrapper for the CERN ROOT facade of the Minuit2 minimizer.
void setPrecision(double value)
Sets relative floating point arithmetic precision.
void setMaxFunctionCalls(int value)
Sets maximum number of objective function calls.
void setStrategy(int value)
Sets minimization strategy (0-low, 1-medium, 2-high minimization quality).
void setTolerance(double value)
Sets tolerance on the function value at the minimum.
void setErrorDefinition(double value)
Sets error definition factor for parameter error calculation.
static const QString P_ERRORDEF
static const QString P_STRATEGY
static const QString P_MAXFUNCTIONCALLS
static const QString P_PRECISION
static const QString P_TOLERANCE
static const QString P_ALGORITHMS
std::unique_ptr< IMinimizer > createMinimizer() const
SessionItem * addProperty(const QString &name, const QVariant &variant)
Add new property item and register new tag.
QVariant getItemValue(const QString &tag) const
Directly access value of item under given tag.
SessionItem * addGroupProperty(const QString &groupTag, const QString &groupType)
Creates new group item and register new tag, returns GroupItem.
T * item(const QString &tag) const
SessionItem & setToolTip(const QString &tooltip)
QString modelType() const
Get model type.
static const QString P_BOLTZMANN_TMIN
std::unique_ptr< IMinimizer > createMinimizer() const
static const QString P_STEPSIZE
static const QString P_ITERATIONSTEMP
static const QString P_BOLTZMANN_K
static const QString P_BOLTZMANN_MU
static const QString P_MAXITERATIONS
static const QString P_BOLTZMANN_TINIT
Wrapper for the CERN ROOT facade of the GSL simmulated annealing minimizer.
void setIterationsAtEachTemp(int value)
Sets number of iterations at each temperature.
void setBoltzmannMu(double value)
Sets Boltzmann distribution parameter: mu.
void setBoltzmannK(double value)
Sets Boltzmann distribution parameter: k.
void setStepSize(double value)
Sets max step size used in random walk.
void setBoltzmannMinTemp(double value)
Sets Boltzmann distribution parameter: minimal temperature.
void setMaxIterations(int value)
Sets maximum number of iterations to try at each step.
void setBoltzmannInitialTemp(double value)
Sets Boltzmann distribution parameter: initial temperature.
std::unique_ptr< IMinimizer > createMinimizer() const
A trivial minimizer that calls the objective function once. Used to test the whole chain.
std::string defaultMetricName()
Returns default metric name.
std::string defaultNormName()
Returns default norm name.
std::unique_ptr< ObjectiveMetric > createMetric(const std::string &metric)
Creates the specified metric with the default norm.
std::vector< std::string > metricNames()
Returns the names of the objective metrics used.
std::vector< std::string > normNames()
Returns the names of the norms used by ObjectiveMetric.