public class ZipfMandelbrotDistribution extends DiscreteDistribution
p_k=C*(v+k)ˆ(-q), k=0..N-1, q>1, v>0 C: normalization constant, C=1/sum((v+k)ˆ(-q),k=0..N-1)
Modifier and Type | Field and Description |
---|---|
double |
Hx0 |
double |
IMax |
double |
Q |
double |
S |
double |
V |
rng
Constructor and Description |
---|
ZipfMandelbrotDistribution(double pQ,
int pN) |
ZipfMandelbrotDistribution(double pQ,
int pN,
double pV) |
ZipfMandelbrotDistribution(double pQ,
int pN,
double pV,
RandomNumberGenerator rng) |
ZipfMandelbrotDistribution(double pQ,
int pN,
RandomNumberGenerator rng) |
Modifier and Type | Method and Description |
---|---|
int |
next()
Create random numbers
|
getDefaultRNG, getRandomNumberGenerator, reset
public final double Q
public final double V
public final double IMax
public final double Hx0
public final double S
public ZipfMandelbrotDistribution(double pQ, int pN, double pV, RandomNumberGenerator rng)
public ZipfMandelbrotDistribution(double pQ, int pN, double pV)
public ZipfMandelbrotDistribution(double pQ, int pN, RandomNumberGenerator rng)
public ZipfMandelbrotDistribution(double pQ, int pN)
public int next()
DiscreteDistribution
next
in class DiscreteDistribution