Public Member Functions

ns3::ZipfVariable Class Reference
[Random Variable Distributions]

Zipf Distributed random var (between 1 and n included). More...

#include <random-variable.h>

Inheritance diagram for ns3::ZipfVariable:
Inheritance graph
[legend]
Collaboration diagram for ns3::ZipfVariable:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ZipfVariable (long n, double alpha)
 ZipfVariable ()

Detailed Description

Zipf Distributed random var (between 1 and n included).


Constructor & Destructor Documentation

ns3::ZipfVariable::ZipfVariable ( long  n,
double  alpha 
)
Parameters:
n the number of possible items
alpha the alpha parameter
ns3::ZipfVariable::ZipfVariable (  ) 

A zipf variable with N=1 and alpha=0


The documentation for this class was generated from the following file: