Public Member Functions | |
GammaVariableImpl (double alpha, double beta) | |
virtual double | GetValue () |
virtual RandomVariableBase * | Copy (void) const |
Static Public Member Functions | |
static double | GetSingleValue (double alpha, double beta) |
Private Attributes | |
double | m_alpha |
double | m_beta |
NormalVariable | m_normal |
Definition at line 1520 of file random-variable.cc.
ns3::GammaVariableImpl::GammaVariableImpl | ( | double | alpha, | |
double | beta | |||
) |
alpha | alpha parameter of the gamma distribution | |
beta | beta parameter of the gamma distribution |
Definition at line 1553 of file random-variable.cc.
Referenced by Copy(), GetSingleValue(), and GetValue().
RandomVariableBase * ns3::GammaVariableImpl::Copy | ( | void | ) | const [virtual] |
Implements ns3::RandomVariableBase.
Definition at line 1548 of file random-variable.cc.
References GammaVariableImpl(), m_alpha, and m_beta.
double ns3::GammaVariableImpl::GetSingleValue | ( | double | alpha, | |
double | beta | |||
) | [static] |
alpha | alpha parameter of the underlying gamma distribution | |
beta | beta parameter of the underlying gamma distribution |
Definition at line 1617 of file random-variable.cc.
References GammaVariableImpl(), ns3::RandomVariableBase::Initialize(), ns3::RngStream::InitializeStream(), ns3::RandomVariableBase::m_static_generator, and ns3::RngStream::RandU01().
double ns3::GammaVariableImpl::GetValue | ( | ) | [virtual] |
Implements ns3::RandomVariableBase.
Definition at line 1575 of file random-variable.cc.
References GammaVariableImpl(), ns3::RandomVariable::GetValue(), ns3::RandomVariableBase::Initialize(), ns3::RandomVariableBase::initialized, ns3::RngStream::InitializeStream(), m_alpha, m_beta, ns3::RandomVariableBase::m_generator, m_normal, ns3::RngStream::RandU01(), ns3::RngStream::ResetNthSubstream(), and ns3::RandomVariableBase::runNumber.
double ns3::GammaVariableImpl::m_alpha [private] |
Definition at line 1542 of file random-variable.cc.
Referenced by Copy(), and GetValue().
double ns3::GammaVariableImpl::m_beta [private] |
Definition at line 1543 of file random-variable.cc.
Referenced by Copy(), and GetValue().
Definition at line 1544 of file random-variable.cc.
Referenced by GetValue().