Inheritance diagram for ns3::ZetaVariableImpl:
Collaboration diagram for ns3::ZetaVariableImpl:Public Member Functions | |
| ZetaVariableImpl (double alpha) | |
| ZetaVariableImpl () | |
| A zipf variable with alpha=1.1. More... | |
| virtual RandomVariableBase * | Copy (void) const |
| virtual double | GetValue () |
Public Member Functions inherited from ns3::RandomVariableBase | |
| RandomVariableBase () | |
| RandomVariableBase (const RandomVariableBase &o) | |
| virtual | ~RandomVariableBase () |
| virtual uint32_t | GetInteger () |
| RngStream * | GetStream (void) |
Private Attributes | |
| double | m_alpha |
| double | m_b |
Definition at line 1946 of file random-variable.cc.
| ns3::ZetaVariableImpl::ZetaVariableImpl | ( | double | alpha | ) |
| alpha | the alpha parameter |
Definition at line 1985 of file random-variable.cc.
References NS_LOG_FUNCTION.
| ns3::ZetaVariableImpl::ZetaVariableImpl | ( | ) |
A zipf variable with alpha=1.1.
Definition at line 1977 of file random-variable.cc.
References NS_LOG_FUNCTION.
Referenced by Copy().
Here is the caller graph for this function:
|
virtual |
Implements ns3::RandomVariableBase.
Definition at line 1971 of file random-variable.cc.
References m_alpha, NS_LOG_FUNCTION, and ZetaVariableImpl().
Here is the call graph for this function:
|
virtual |
Implements ns3::RandomVariableBase.
Definition at line 1998 of file random-variable.cc.
References ns3::RandomVariableBase::GetStream(), m_alpha, m_b, NS_LOG_FUNCTION, ns3::RngStream::RandU01(), and test().
Here is the call graph for this function:
|
private |
Definition at line 1966 of file random-variable.cc.
Referenced by Copy(), and GetValue().
|
private |
Definition at line 1967 of file random-variable.cc.
Referenced by GetValue().