Zipf Distributed random var (between 1 and n included). More...
#include <random-variable.h>


Public Member Functions | |
| ZipfVariable (long n, double alpha) | |
| ZipfVariable () | |
Zipf Distributed random var (between 1 and n included).
| ns3::ZipfVariable::ZipfVariable | ( | long | n, | |
| double | alpha | |||
| ) |
| n | the number of possible items | |
| alpha | the alpha parameter |
| ns3::ZipfVariable::ZipfVariable | ( | ) |
A zipf variable with N=1 and alpha=0
1.7.1