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

#include <GammaDistribution.hpp>

+ Inheritance diagram for openstudio::analysis::GammaDistribution:

Public Member Functions

Constructors and Destructors
 GammaDistribution ()
 Returns a gamma distribution with alpha of 2 and beta of 0.5. More...
 
 GammaDistribution (double alpha, double beta)
 
virtual ~GammaDistribution ()
 
Getters
double alpha () const
 
double beta () const
 
Setters
bool setAlpha (double value)
 
bool setBeta (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

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

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

Constructor & Destructor Documentation

openstudio::analysis::GammaDistribution::GammaDistribution ( )

Returns a gamma distribution with alpha of 2 and beta of 0.5.

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

Member Function Documentation

double openstudio::analysis::GammaDistribution::alpha ( ) const
double openstudio::analysis::GammaDistribution::beta ( ) const
bool openstudio::analysis::GammaDistribution::setAlpha ( double  value)
bool openstudio::analysis::GammaDistribution::setBeta ( double  value)
static UncertaintyDescriptionType openstudio::analysis::GammaDistribution::type ( )
static