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 1655 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 1689 of file random-variable.cc.
References NS_LOG_FUNCTION.
Referenced by Copy().
|
virtual |
Implements ns3::RandomVariableBase.
Definition at line 1683 of file random-variable.cc.
References ErlangVariableImpl(), m_k, m_lambda, and NS_LOG_FUNCTION.
|
virtual |
Implements ns3::RandomVariableBase.
Definition at line 1697 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 1716 of file random-variable.cc.
References ns3::RandomVariable::GetValue(), and NS_LOG_FUNCTION.
|
private |
Definition at line 1678 of file random-variable.cc.
Referenced by Copy(), and GetValue().
|
private |
Definition at line 1679 of file random-variable.cc.
Referenced by Copy(), and GetValue().