Public Member Functions | |
ErlangVariableImpl (unsigned int k, double lambda) | |
virtual RandomVariableBase * | Copy (void) const |
virtual double | GetValue () |
double | GetValue (unsigned int k, double lambda) |
![]() | |
RandomVariableBase () | |
RandomVariableBase (const RandomVariableBase &o) | |
virtual | ~RandomVariableBase () |
virtual uint32_t | GetInteger () |
RngStream * | GetStream (void) |
Private Attributes | |
unsigned int | m_k |
double | m_lambda |
Definition at line 1640 of file random-variable.cc.
ns3::ErlangVariableImpl::ErlangVariableImpl | ( | unsigned int | k, |
double | lambda | ||
) |
k | k parameter of the Erlang distribution |
lambda | lambda parameter of the Erlang distribution |
Definition at line 1674 of file random-variable.cc.
References NS_LOG_FUNCTION.
Referenced by Copy().
|
virtual |
Implements ns3::RandomVariableBase.
Definition at line 1668 of file random-variable.cc.
References ErlangVariableImpl(), m_k, m_lambda, and NS_LOG_FUNCTION.
|
virtual |
Implements ns3::RandomVariableBase.
Definition at line 1682 of file random-variable.cc.
References m_k, m_lambda, and NS_LOG_FUNCTION.
double ns3::ErlangVariableImpl::GetValue | ( | unsigned int | k, |
double | lambda | ||
) |
Definition at line 1701 of file random-variable.cc.
References ns3::RandomVariable::GetValue(), and NS_LOG_FUNCTION.
|
private |
Definition at line 1663 of file random-variable.cc.
Referenced by Copy(), and GetValue().
|
private |
Definition at line 1664 of file random-variable.cc.
Referenced by Copy(), and GetValue().