Public Member Functions | |
LogNormalVariableImpl (double mu, double sigma) | |
virtual double | GetValue () |
virtual RandomVariableBase * | Copy (void) const |
Static Public Member Functions | |
static double | GetSingleValue (double mu, double sigma) |
Private Attributes | |
double | m_mu |
double | m_sigma |
Definition at line 1385 of file random-variable.cc.
ns3::LogNormalVariableImpl::LogNormalVariableImpl | ( | double | mu, | |
double | sigma | |||
) |
mu | mu parameter of the lognormal distribution | |
sigma | sigma parameter of the lognormal distribution |
Definition at line 1416 of file random-variable.cc.
Referenced by Copy().
RandomVariableBase * ns3::LogNormalVariableImpl::Copy | ( | void | ) | const [virtual] |
Implements ns3::RandomVariableBase.
Definition at line 1411 of file random-variable.cc.
References LogNormalVariableImpl(), m_mu, and m_sigma.
double ns3::LogNormalVariableImpl::GetSingleValue | ( | double | mu, | |
double | sigma | |||
) | [static] |
mu | mu parameter of the underlying normal distribution | |
sigma | sigma parameter of the underlying normal distribution |
Definition at line 1481 of file random-variable.cc.
References ns3::RandomVariableBase::Initialize(), ns3::RngStream::InitializeStream(), ns3::RandomVariableBase::m_static_generator, and ns3::RngStream::RandU01().
double ns3::LogNormalVariableImpl::GetValue | ( | ) | [virtual] |
Implements ns3::RandomVariableBase.
Definition at line 1448 of file random-variable.cc.
References ns3::RandomVariableBase::Initialize(), ns3::RandomVariableBase::initialized, ns3::RngStream::InitializeStream(), ns3::RandomVariableBase::m_generator, m_mu, m_sigma, ns3::RngStream::RandU01(), ns3::RngStream::ResetNthSubstream(), and ns3::RandomVariableBase::runNumber.
double ns3::LogNormalVariableImpl::m_mu [private] |
Definition at line 1406 of file random-variable.cc.
Referenced by Copy(), and GetValue().
double ns3::LogNormalVariableImpl::m_sigma [private] |
Definition at line 1407 of file random-variable.cc.
Referenced by Copy(), and GetValue().