Public Member Functions | |
GammaVariableImpl (double alpha, double beta) | |
virtual RandomVariableBase * | Copy (void) const |
virtual double | GetValue () |
double | GetValue (double alpha, double beta) |
![]() | |
RandomVariableBase () | |
RandomVariableBase (const RandomVariableBase &o) | |
virtual | ~RandomVariableBase () |
virtual uint32_t | GetInteger () |
RngStream * | GetStream (void) |
Private Attributes | |
double | m_alpha |
double | m_beta |
NormalVariable | m_normal |
Definition at line 1521 of file random-variable.cc.
ns3::GammaVariableImpl::GammaVariableImpl | ( | double | alpha, |
double | beta | ||
) |
alpha | alpha parameter of the gamma distribution |
beta | beta parameter of the gamma distribution |
Definition at line 1556 of file random-variable.cc.
References NS_LOG_FUNCTION.
Referenced by Copy().
|
virtual |
Implements ns3::RandomVariableBase.
Definition at line 1550 of file random-variable.cc.
References GammaVariableImpl(), m_alpha, m_beta, and NS_LOG_FUNCTION.
|
virtual |
Implements ns3::RandomVariableBase.
Definition at line 1564 of file random-variable.cc.
References m_alpha, m_beta, and NS_LOG_FUNCTION.
Referenced by GetValue().
double ns3::GammaVariableImpl::GetValue | ( | double | alpha, |
double | beta | ||
) |
Definition at line 1587 of file random-variable.cc.
References ns3::RandomVariableBase::GetStream(), ns3::RandomVariable::GetValue(), GetValue(), m_normal, NS_LOG_FUNCTION, ns3::RngStream::RandU01(), and sample-rng-plot::x.
|
private |
Definition at line 1544 of file random-variable.cc.
Referenced by Copy(), and GetValue().
|
private |
Definition at line 1545 of file random-variable.cc.
Referenced by Copy(), and GetValue().
|
private |
Definition at line 1546 of file random-variable.cc.
Referenced by GetValue().