INET Framework for OMNeT++/OMNEST
|
Uniform distribution random object. More...
#include <HttpRandom.h>
Public Member Functions | |
rdUniform (double beginning, double end) | |
rdUniform (cXMLAttributeMap attributes) | |
virtual double | draw () override |
double | getBeginning () |
void | setBeginning (double beginning) |
double | getEnd () |
void | setEnd (double end) |
Public Member Functions inherited from inet::httptools::rdObject | |
virtual | ~rdObject () |
DISTR_TYPE | getType () |
std::string | typeStr () |
virtual std::string | toString () |
Protected Attributes | |
double | m_beginning = NaN |
Low limit. More... | |
double | m_end = NaN |
High limit. More... | |
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) |
Uniform distribution random object.
Wraps the OMNeT++ uniform distribution function.
inet::httptools::rdUniform::rdUniform | ( | double | beginning, |
double | end | ||
) |
inet::httptools::rdUniform::rdUniform | ( | cXMLAttributeMap | attributes | ) |
|
overridevirtual |
Implements inet::httptools::rdObject.
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
Low limit.
|
protected |
High limit.