Public Member Functions | |
RandomVariableBase () | |
RandomVariableBase (const RandomVariableBase &o) | |
virtual | ~RandomVariableBase () |
virtual RandomVariableBase * | Copy (void) const =0 |
virtual uint32_t | GetInteger () |
RngStream * | GetStream (void) |
virtual double | GetValue ()=0 |
Private Attributes | |
RngStream * | m_generator |
Definition at line 51 of file random-variable.cc.
ns3::RandomVariableBase::RandomVariableBase | ( | ) |
Definition at line 65 of file random-variable.cc.
References NS_LOG_FUNCTION.
ns3::RandomVariableBase::RandomVariableBase | ( | const RandomVariableBase & | o | ) |
Definition at line 71 of file random-variable.cc.
References ns3::RngSeedManager::GetNextStreamIndex(), ns3::RngSeedManager::GetRun(), ns3::RngSeedManager::GetSeed(), m_generator, and NS_LOG_FUNCTION.
|
virtual |
Definition at line 83 of file random-variable.cc.
References m_generator, and NS_LOG_FUNCTION.
|
pure virtual |
Implemented in ns3::ZetaVariableImpl, ns3::ZipfVariableImpl, ns3::TriangularVariableImpl, ns3::ErlangVariableImpl, ns3::GammaVariableImpl, ns3::LogNormalVariableImpl, ns3::DeterministicVariableImpl, ns3::IntEmpiricalVariableImpl, ns3::EmpiricalVariableImpl, ns3::NormalVariableImpl, ns3::WeibullVariableImpl, ns3::ParetoVariableImpl, ns3::ExponentialVariableImpl, ns3::SequentialVariableImpl, ns3::ConstantVariableImpl, and ns3::UniformVariableImpl.
Referenced by ns3::RandomVariable::operator=().
|
virtual |
Reimplemented in ns3::IntEmpiricalVariableImpl, and ns3::ConstantVariableImpl.
Definition at line 89 of file random-variable.cc.
References GetValue(), and NS_LOG_FUNCTION.
Referenced by ns3::RandomVariable::GetInteger().
RngStream * ns3::RandomVariableBase::GetStream | ( | void | ) |
Definition at line 96 of file random-variable.cc.
References ns3::RngSeedManager::GetNextStreamIndex(), ns3::RngSeedManager::GetRun(), ns3::RngSeedManager::GetSeed(), m_generator, and NS_LOG_FUNCTION.
Referenced by ns3::UniformVariableImpl::GetValue(), ns3::ExponentialVariableImpl::GetValue(), ns3::ParetoVariableImpl::GetValue(), ns3::WeibullVariableImpl::GetValue(), ns3::NormalVariableImpl::GetValue(), ns3::EmpiricalVariableImpl::GetValue(), ns3::LogNormalVariableImpl::GetValue(), ns3::GammaVariableImpl::GetValue(), ns3::TriangularVariableImpl::GetValue(), ns3::ZipfVariableImpl::GetValue(), and ns3::ZetaVariableImpl::GetValue().
|
pure virtual |
Implemented in ns3::ZetaVariableImpl, ns3::ZipfVariableImpl, ns3::TriangularVariableImpl, ns3::ErlangVariableImpl, ns3::GammaVariableImpl, ns3::LogNormalVariableImpl, ns3::DeterministicVariableImpl, ns3::EmpiricalVariableImpl, ns3::NormalVariableImpl, ns3::WeibullVariableImpl, ns3::ParetoVariableImpl, ns3::ExponentialVariableImpl, ns3::SequentialVariableImpl, ns3::ConstantVariableImpl, and ns3::UniformVariableImpl.
Referenced by GetInteger(), and ns3::RandomVariable::GetValue().
|
private |
Definition at line 62 of file random-variable.cc.
Referenced by GetStream(), RandomVariableBase(), and ~RandomVariableBase().