INET Framework for OMNeT++/OMNEST
|
Histogram distribution random object. More...
#include <HttpRandom.h>
Classes | |
struct | rdHistogramBin |
Public Member Functions | |
rdHistogram (rdHistogramBins bins, bool zeroBased=false) | |
rdHistogram (cXMLAttributeMap attributes) | |
double | draw () override |
Public Member Functions inherited from inet::httptools::rdObject | |
virtual | ~rdObject () |
DISTR_TYPE | getType () |
std::string | typeStr () |
virtual std::string | toString () |
Protected Types | |
typedef std::vector< rdHistogramBin > | rdHistogramBins |
Protected Attributes | |
rdHistogramBins | m_bins |
bool | m_zeroBased = false |
Protected Attributes inherited from inet::httptools::rdObject | |
DISTR_TYPE | m_type = dt_normal |
Private Member Functions | |
void | __parseBinString (std::string binstr) |
void | __normalizeBins () |
Additional Inherited Members | |
Protected Member Functions inherited from inet::httptools::rdObject | |
bool | _hasKey (cXMLAttributeMap attributes, std::string key) |
Histogram distribution random object.
|
protected |
inet::httptools::rdHistogram::rdHistogram | ( | rdHistogramBins | bins, |
bool | zeroBased = false |
||
) |
inet::httptools::rdHistogram::rdHistogram | ( | cXMLAttributeMap | attributes | ) |
|
private |
|
private |
|
overridevirtual |
Implements inet::httptools::rdObject.
|
protected |
|
protected |