public static final class RandomDistribution.Zipf extends Object implements RandomDistribution.DiscreteRNG
Modifier and Type | Field and Description |
---|---|
private static double |
DEFAULT_EPSILON |
private ArrayList<Integer> |
k |
private Random |
random |
private ArrayList<Double> |
v |
private static final double DEFAULT_EPSILON
public Zipf(Random r, int min, int max, double sigma)
public int nextInt()
RandomDistribution.DiscreteRNG
nextInt
in interface RandomDistribution.DiscreteRNG
RandomDistribution.DiscreteRNG.nextInt()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.