Public Member Functions | |
ZetaVariableImpl (double alpha) | |
ZetaVariableImpl () | |
virtual RandomVariableBase * | Copy (void) const |
virtual double | GetValue () |
Public Member Functions inherited from ns3::RandomVariableBase | |
RandomVariableBase (const RandomVariableBase &o) | |
virtual uint32_t | GetInteger () |
RngStream * | GetStream (void) |
Private Attributes | |
double | m_alpha |
double | m_b |
Definition at line 1929 of file random-variable.cc.
ns3::ZetaVariableImpl::ZetaVariableImpl | ( | double | alpha | ) |
alpha | the alpha parameter |
Definition at line 1968 of file random-variable.cc.
References NS_LOG_FUNCTION.
ns3::ZetaVariableImpl::ZetaVariableImpl | ( | ) |
zipf variable with alpha=1.1
Definition at line 1960 of file random-variable.cc.
References NS_LOG_FUNCTION.
|
virtual |
Implements ns3::RandomVariableBase.
Definition at line 1981 of file random-variable.cc.
References NS_LOG_FUNCTION, and ns3::RngStream::RandU01().