- <init>
Construct a RandomDataGenerator using the supplied RandomGenerator as the source
of (non-secure) ran
- nextInt
- nextLong
Returns a pseudorandom, uniformly distributed long value between 0 (inclusive)
and the specified val
- nextUniform
Algorithm Description: if the lower bound is excluded, scales the output of
Random.nextDouble(), but
- nextGaussian
- nextPoisson
Algorithm Description: * For small means, uses simulation of a Poisson process
using Uniform dev
- reSeed
Reseeds the random number generator with the supplied seed. Will create and
initialize if null.
- getRandomGenerator
Returns the RandomGenerator used to generate non-secure random data. Creates and
initializes a defau
- nextPermutation
This method calls MathArrays#shuffle(int[],RandomGenerator) in order to create a
random shuffle of t
- nextGamma
Generates a random value from the
org.apache.commons.math3.distribution.GammaDistribution.
This imp
- nextSample
This method calls #nextPermutation(int,int)in order to sample the collection.
- initRan
Sets the default generator to a Well19937c generator seeded with
System.currentTimeMillis() + System