public static final class RandomDistribution.Zipf extends Object implements RandomDistribution.DiscreteRNG
public Zipf(Random r, int min, int max, double sigma)
r - The random number generator.min - minimum integer (inclusvie)max - maximum integer (exclusive)sigma - parameter sigma. (sigma > 1.0)public int nextInt()
RandomDistribution.DiscreteRNGnextInt in interface RandomDistribution.DiscreteRNGRandomDistribution.DiscreteRNG.nextInt()Copyright © 2007–2019 Cloudera. All rights reserved.