#include <UniformDistribution.hpp>
Public Member Functions | |
Constructors and Destructors | |
UniformDistribution () | |
Returns a uniform distribution with lower bound of 0 and upper bound of 1. More... | |
UniformDistribution (double lowerBound, double upperBound) | |
virtual | ~UniformDistribution () |
Getters | |
double | lowerBound () const |
double | upperBound () const |
Setters | |
void | setLowerBound (double value) |
void | setUpperBound (double value) |
Public Member Functions inherited from openstudio::analysis::UncertaintyDescription | |
virtual | ~UncertaintyDescription () |
UncertaintyDescription | clone () const |
UncertaintyDescriptionType | type () const |
void | restoreDefaults () |
Restores the default options for this UncertaintyDescription and its type(). More... | |
template<typename T > | |
T | cast () const |
Casts the UncertaintyDescription to type T, if possible. More... | |
template<typename T > | |
boost::optional< T > | optionalCast () const |
Static Public Member Functions | |
static UncertaintyDescriptionType | type () |
Static Public Member Functions inherited from openstudio::analysis::UncertaintyDescription | |
static std::vector < UncertaintyDescriptionType > | validTypes (const VariableValueType &variableValueType) |
Returns all the UncertaintyDescriptionTypes that are applicable to variableValueType (VariableValueType::Continuous or VariableValueType::Discrete). More... | |
static std::vector < UncertaintyDescriptionType > | validTypes (const VariableValueType &variableValueType, const UncertaintyType &uncertaintyType) |
Returns all the UncertaintyDescriptionTypes that are applicable to the specified combination of variableValueType (VariableValueType::Continuous or VariableValueType::Discrete) and uncertaintyType (UncertaintyType::Aleatory or UncertaintyType::Epistemic). More... | |
Protected Member Functions | |
UniformDistribution (std::shared_ptr< detail::UncertaintyDescription_Impl > impl) | |
Protected Member Functions inherited from openstudio::analysis::UncertaintyDescription | |
UncertaintyDescription (std::shared_ptr< detail::UncertaintyDescription_Impl > impl) | |
Additional Inherited Members | |
Protected Types inherited from openstudio::analysis::UncertaintyDescription | |
typedef detail::UncertaintyDescription_Impl | ImplType |
Related Functions inherited from openstudio::analysis::UncertaintyDescription | |
typedef boost::optional < UncertaintyDescription > | OptionalUncertaintyDescription |
UniformDistribution is an UncertaintyDescription that can apply aleatory uncertainty to a continuous variable.
openstudio::analysis::UniformDistribution::UniformDistribution | ( | ) |
Returns a uniform distribution with lower bound of 0 and upper bound of 1.
openstudio::analysis::UniformDistribution::UniformDistribution | ( | double | lowerBound, |
double | upperBound | ||
) |
|
inlinevirtual |
|
explicitprotected |
double openstudio::analysis::UniformDistribution::lowerBound | ( | ) | const |
void openstudio::analysis::UniformDistribution::setLowerBound | ( | double | value | ) |
void openstudio::analysis::UniformDistribution::setUpperBound | ( | double | value | ) |
|
static |
double openstudio::analysis::UniformDistribution::upperBound | ( | ) | const |