ns3::LogNormalVariableImpl Class Reference

Inheritance diagram for ns3::LogNormalVariableImpl:
Inheritance graph
[legend]
Collaboration diagram for ns3::LogNormalVariableImpl:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 LogNormalVariableImpl (double mu, double sigma)
virtual double GetValue ()
virtual RandomVariableBaseCopy (void) const

Static Public Member Functions

static double GetSingleValue (double mu, double sigma)

Private Attributes

double m_mu
double m_sigma

Detailed Description

Definition at line 1385 of file random-variable.cc.


Constructor & Destructor Documentation

ns3::LogNormalVariableImpl::LogNormalVariableImpl ( double  mu,
double  sigma 
)
Parameters:
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().


Member Function Documentation

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]
Parameters:
mu mu parameter of the underlying normal distribution
sigma sigma parameter of the underlying normal distribution
Returns:
A random number from the distribution specified by mu and sigma

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]

Member Data Documentation

Definition at line 1406 of file random-variable.cc.

Referenced by Copy(), and GetValue().

Definition at line 1407 of file random-variable.cc.

Referenced by Copy(), and GetValue().


The documentation for this class was generated from the following file:
Generated on Thu Dec 3 14:10:28 2009 for NS-3 by  doxygen 1.6.3