15 #ifndef BORNAGAIN_CORE_PARAMETRIZATION_DISTRIBUTIONHANDLER_H
16 #define BORNAGAIN_CORE_PARAMETRIZATION_DISTRIBUTIONHANDLER_H
27 typedef std::vector<ParameterDistribution> Distributions_t;
34 double sigma_factor = 0.0,
52 const Distributions_t& getDistributions()
const;
55 size_t m_nbr_combinations;
56 Distributions_t m_distributions;
57 std::vector<std::vector<ParameterSample>> m_cached_samples;
Defines class ParameterDistribution.
Provides the functionality to average over parameter distributions with weights.
void addParameterDistribution(const std::string ¶m_name, const IDistribution1D &distribution, size_t nbr_samples, double sigma_factor=0.0, const RealLimits &limits=RealLimits())
add a sampled parameter distribution
double setParameterValues(ParameterPool *p_parameter_pool, size_t index)
set the parameter values of the simulation object to a specific combination of values,...
void setParameterToMeans(ParameterPool *p_parameter_pool) const
Sets mean distribution values to the parameter pool.
size_t getTotalNumberOfSamples() const
get the total number of parameter value combinations (product of the individual sizes of each paramet...
Interface for one-dimensional distributions.
Manages a local parameter pool, and a tree of child pools.
A parametric distribution function, for use with any model parameter.
Container with parameters for IParameterized object.
Limits for a real fit parameter.