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.DiscreteRNGnextInt in interface RandomDistribution.DiscreteRNGRandomDistribution.DiscreteRNG.nextInt()Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.