INET Framework for OMNeT++/OMNEST
|
Exponential distribution random object. More...
#include <HttpRandom.h>
Public Member Functions | |
rdExponential (double mean) | |
rdExponential (cXMLAttributeMap attributes) | |
virtual double | draw () override |
void | setMinLimit (double min) |
void | resetMinLimit () |
void | setMaxLimit (double max) |
void | resetMaxLimit () |
Public Member Functions inherited from inet::httptools::rdObject | |
virtual | ~rdObject () |
DISTR_TYPE | getType () |
std::string | typeStr () |
virtual std::string | toString () |
Protected Attributes | |
double | m_mean = NaN |
double | m_min = NaN |
double | m_max = NaN |
bool | m_bMinLimit = false |
bool | m_bMaxLimit = false |
Protected Attributes inherited from inet::httptools::rdObject | |
DISTR_TYPE | m_type = dt_normal |
Additional Inherited Members | |
Protected Member Functions inherited from inet::httptools::rdObject | |
bool | _hasKey (cXMLAttributeMap attributes, std::string key) |
Exponential distribution random object.
Wraps the OMNeT++ exponential distribution function, but adds min and max limits.
inet::httptools::rdExponential::rdExponential | ( | double | mean | ) |
inet::httptools::rdExponential::rdExponential | ( | cXMLAttributeMap | attributes | ) |
|
overridevirtual |
Implements inet::httptools::rdObject.
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |