Public Member Functions | |
ErlangVariableImpl (unsigned int k, double lambda) | |
virtual RandomVariableBase * | Copy (void) const |
virtual double | GetValue () |
double | GetValue (unsigned int k, double lambda) |
Public Member Functions inherited from ns3::RandomVariableBase | |
RandomVariableBase (const RandomVariableBase &o) | |
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.
|
virtual |
Implements ns3::RandomVariableBase.
Definition at line 1682 of file random-variable.cc.
References 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.