OpenStudioCore:analysis
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Static Public Member Functions | Protected Member Functions | List of all members
openstudio::analysis::BetaDistribution Class Reference

#include <BetaDistribution.hpp>

+ Inheritance diagram for openstudio::analysis::BetaDistribution:

Public Member Functions

Constructors and Destructors
 BetaDistribution ()
 Returns a beta distribution with alpha of 2, beta of 2, lower bound of 0, and upper bound of. More...
 
 BetaDistribution (double alpha, double beta, double lowerBound, double upperBound)
 
virtual ~BetaDistribution ()
 
Getters
double alpha () const
 
double beta () const
 
double lowerBound () const
 
double upperBound () const
 
Setters
void setAlpha (double value)
 
void setBeta (double value)
 
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 >
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

 BetaDistribution (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
 

Detailed Description

BetaDistribution is an UncertaintyDescription that can apply aleatory uncertainty to a continuous variable.

Constructor & Destructor Documentation

openstudio::analysis::BetaDistribution::BetaDistribution ( )

Returns a beta distribution with alpha of 2, beta of 2, lower bound of 0, and upper bound of.

openstudio::analysis::BetaDistribution::BetaDistribution ( double  alpha,
double  beta,
double  lowerBound,
double  upperBound 
)
virtual openstudio::analysis::BetaDistribution::~BetaDistribution ( )
inlinevirtual
openstudio::analysis::BetaDistribution::BetaDistribution ( std::shared_ptr< detail::UncertaintyDescription_Impl >  impl)
explicitprotected

Member Function Documentation

double openstudio::analysis::BetaDistribution::alpha ( ) const
double openstudio::analysis::BetaDistribution::beta ( ) const
double openstudio::analysis::BetaDistribution::lowerBound ( ) const
void openstudio::analysis::BetaDistribution::setAlpha ( double  value)
void openstudio::analysis::BetaDistribution::setBeta ( double  value)
void openstudio::analysis::BetaDistribution::setLowerBound ( double  value)
void openstudio::analysis::BetaDistribution::setUpperBound ( double  value)
static UncertaintyDescriptionType openstudio::analysis::BetaDistribution::type ( )
static
double openstudio::analysis::BetaDistribution::upperBound ( ) const