167 double GetVal(
const string &quantity);
181 void SetRange(
const vector<double> &rng);
Represents a parametric probability distribution for uncertainty quantification.
distribution_type distribution
The type of probability distribution.
Represents a model parameter with prior distribution and constraints.
bool operator==(const string &dist_type)
Compare parameter with a string (unused, legacy method)
void SetValue(double val)
Set the current parameter value.
double GetVal(const string &quantity)
Get range bound by string identifier.
void SetPriorDistribution(distribution_type dist_type)
Set the type of prior probability distribution.
double value
Current value of the parameter.
Parameter()
Default constructor.
string name
Parameter name/identifier.
double CalcLogPriorProbability(const double x)
Calculate log prior probability density at a given value.
Distribution prior_distribution
The prior probability distribution for this parameter.
Distribution & GetPriorDistribution()
Get reference to the prior distribution object.
double GetRange(_range lowhigh)
Get a specific range bound.
double Value() const
Get the current parameter value.
vector< double > range
Allowable range for the parameter [low, high].
void SetRange(const vector< double > &rng)
Set the parameter range from a vector.
double GetValue()
Get the current parameter value (alternative accessor)
void UpdatePriorDistribution()
Update prior distribution parameters based on current range.
Parameter & operator=(const Parameter ¶m)
Assignment operator.
string Name() const
Get the parameter name.
void SetName(const string &nam)
Set the parameter name/identifier.
distribution_type
Enumeration of probability distribution types supported in SedSat3.
_range
Enumeration for specifying parameter range bounds.
@ low
Lower bound of the parameter range.
@ high
Upper bound of the parameter range.