#include <UncertaintyDescription.hpp>
Inheritance diagram for openstudio::analysis::UncertaintyDescription:Public Member Functions | |
Constructors and Destructors | |
| virtual | ~UncertaintyDescription () |
| UncertaintyDescription | clone () const |
Getters and Queries | |
| UncertaintyDescriptionType | type () const |
Setters | |
| void | restoreDefaults () |
| Restores the default options for this UncertaintyDescription and its type(). More... | |
Type Casting | |
| 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 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 Types | |
| typedef detail::UncertaintyDescription_Impl | ImplType |
Protected Member Functions | |
| UncertaintyDescription (std::shared_ptr< detail::UncertaintyDescription_Impl > impl) | |
Related Functions | |
(Note that these are not member functions.) | |
| typedef boost::optional < UncertaintyDescription > | OptionalUncertaintyDescription |
UncertaintyDescription is an abstract base class that can be used to append uncertainty information to a Variable.
At this time, such descriptions are only used if the variables are sampled using SamplingAlgorithm (which is available through DAKOTA).
|
protected |
|
inlinevirtual |
|
explicitprotected |
|
inline |
Casts the UncertaintyDescription to type T, if possible.
All descriptions can be cast to GenericUncertaintyDescription, which provides a unified interface for all types. Otherwise, the cast will only succeed if type() == T::type().
| UncertaintyDescription openstudio::analysis::UncertaintyDescription::clone | ( | ) | const |
|
inline |
| void openstudio::analysis::UncertaintyDescription::restoreDefaults | ( | ) |
Restores the default options for this UncertaintyDescription and its type().
| UncertaintyDescriptionType openstudio::analysis::UncertaintyDescription::type | ( | ) | const |
|
static |
Returns all the UncertaintyDescriptionTypes that are applicable to variableValueType (VariableValueType::Continuous or VariableValueType::Discrete).
|
static |
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).
|
related |