A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ns3::LogNormalVariableImpl Class Reference
+ Inheritance diagram for ns3::LogNormalVariableImpl:

Public Member Functions

 LogNormalVariableImpl (double mu, double sigma)
 
virtual RandomVariableBaseCopy (void) const
 
virtual double GetValue ()
 
- Public Member Functions inherited from ns3::RandomVariableBase
 RandomVariableBase (const RandomVariableBase &o)
 
virtual uint32_t GetInteger ()
 
RngStreamGetStream (void)
 

Private Attributes

double m_mu
 
double m_sigma
 

Detailed Description

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

Constructor & Destructor Documentation

ns3::LogNormalVariableImpl::LogNormalVariableImpl ( double  mu,
double  sigma 
)
Parameters
mumu parameter of the lognormal distribution
sigmasigma parameter of the lognormal distribution

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

References NS_LOG_FUNCTION.

Member Function Documentation

double ns3::LogNormalVariableImpl::GetValue ( void  )
virtual
Returns
A random value from this distribution

Implements ns3::RandomVariableBase.

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

References NS_LOG_FUNCTION, and ns3::RngStream::RandU01().


The documentation for this class was generated from the following file: