![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <distribution/CDFTable.hpp>


Public Member Functions | |
| CDFTable (wns::rng::RNGen *rng, const pyconfig::View &config) | |
| CDFTable (const pyconfig::View &config) | |
| virtual double | getMean () const |
| Mean value of the distribution. | |
| virtual double | operator() () |
| returns the random value according to the distribution. | |
| virtual | ~CDFTable () |
Private Member Functions | |
| virtual std::string | paramString () const |
| returns a string describing distribution and parameters | |
Private Attributes | |
| StandardUniform | dis_ |
| double | mean_ |
| wns::container::RangeMap < double, double > | rangeMap_ |
E.g.: Providing a random number according to the statistics of typical IP packet sizes in the internet
Definition at line 51 of file CDFTable.hpp.
| CDFTable::CDFTable | ( | const pyconfig::View & | config | ) | [explicit] |
Definition at line 40 of file CDFTable.cpp.
| CDFTable::CDFTable | ( | wns::rng::RNGen * | rng, | |
| const pyconfig::View & | config | |||
| ) | [explicit] |
Definition at line 62 of file CDFTable.cpp.
| CDFTable::~CDFTable | ( | ) | [virtual] |
Definition at line 84 of file CDFTable.cpp.
| double CDFTable::getMean | ( | ) | const [virtual] |
| double CDFTable::operator() | ( | ) | [virtual] |
| std::string CDFTable::paramString | ( | ) | const [private, virtual] |
Definition at line 75 of file CDFTable.hpp.
double wns::distribution::CDFTable::mean_ [private] |
Definition at line 79 of file CDFTable.hpp.
Definition at line 77 of file CDFTable.hpp.
1.5.5