ns-3
|
Integer-based empirical distributionDefines an empirical distribution where all values are integers. Indentical to EmpiricalVariable, except that the inverse transform sampling interpolation described in the EmpiricalVariable documentation is modified to only return integers. More...
#include <random-variable.h>
Additional Inherited Members | |
![]() | |
EmpiricalVariable () | |
void | CDF (double v, double c) |
Specifies a point in the empirical distribution. | |
![]() | |
RandomVariable (const RandomVariable &o) | |
RandomVariable & | operator= (const RandomVariable &o) |
double | GetValue (void) const |
Returns a random double from the underlying distribution. | |
uint32_t | GetInteger (void) const |
Returns a random integer integer from the underlying distribution. | |
![]() | |
EmpiricalVariable (const RandomVariableBase &variable) | |
![]() | |
RandomVariable (const RandomVariableBase &variable) | |
RandomVariableBase * | Peek (void) const |
Integer-based empirical distribution
Defines an empirical distribution where all values are integers. Indentical to EmpiricalVariable, except that the inverse transform sampling interpolation described in the EmpiricalVariable documentation is modified to only return integers.