 Inheritance diagram for ns3::ExponentialVariableImpl:
 Inheritance diagram for ns3::ExponentialVariableImpl: Collaboration diagram for ns3::ExponentialVariableImpl:
 Collaboration diagram for ns3::ExponentialVariableImpl:| Public Member Functions | |
| ExponentialVariableImpl () | |
| Constructs an exponential random variable with a mean value of 1.0.  More... | |
| ExponentialVariableImpl (double m) | |
| Constructs an exponential random variable with a specified mean.  More... | |
| ExponentialVariableImpl (double m, double b) | |
| Constructs an exponential random variable with specified mean and upper limit.  More... | |
| ExponentialVariableImpl (const ExponentialVariableImpl &c) | |
| virtual RandomVariableBase * | Copy (void) const | 
| virtual double | GetValue () | 
|  Public Member Functions inherited from ns3::RandomVariableBase | |
| RandomVariableBase () | |
| RandomVariableBase (const RandomVariableBase &o) | |
| virtual | ~RandomVariableBase () | 
| virtual uint32_t | GetInteger () | 
| RngStream * | GetStream (void) | 
| Private Attributes | |
| double | m_bound | 
| double | m_mean | 
Definition at line 522 of file random-variable.cc.
| ns3::ExponentialVariableImpl::ExponentialVariableImpl | ( | ) | 
Constructs an exponential random variable with a mean value of 1.0.
Definition at line 564 of file random-variable.cc.
References NS_LOG_FUNCTION.
Referenced by Copy().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | explicit | 
Constructs an exponential random variable with a specified mean.
| m | Mean value for the random variable | 
Definition at line 571 of file random-variable.cc.
References NS_LOG_FUNCTION.
| ns3::ExponentialVariableImpl::ExponentialVariableImpl | ( | double | m, | 
| double | b | ||
| ) | 
Constructs an exponential random variable with specified mean and upper limit.
Since exponential distributions can theoretically return unbounded values, it is sometimes useful to specify a fixed upper limit. Note however when the upper limit is specified, the true mean of the distribution is slightly smaller than the mean value specified:  .
. 
| m | Mean value of the random variable | 
| b | Upper bound on returned values | 
Definition at line 578 of file random-variable.cc.
References NS_LOG_FUNCTION.
| ns3::ExponentialVariableImpl::ExponentialVariableImpl | ( | const ExponentialVariableImpl & | c | ) | 
Definition at line 585 of file random-variable.cc.
References NS_LOG_FUNCTION.
| 
 | virtual | 
Implements ns3::RandomVariableBase.
Definition at line 608 of file random-variable.cc.
References ExponentialVariableImpl(), and NS_LOG_FUNCTION.
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | virtual | 
Implements ns3::RandomVariableBase.
Definition at line 593 of file random-variable.cc.
References ns3::RandomVariableBase::GetStream(), m_bound, m_mean, NS_LOG_FUNCTION, and ns3::RngStream::RandU01().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | private | 
Definition at line 561 of file random-variable.cc.
Referenced by GetValue().
| 
 | private | 
Definition at line 560 of file random-variable.cc.
Referenced by GetValue().