if (probability >= 1.0) {
this.prng = null;
} else {
if (config.hasPath("seed")) {
long seed = getConfigs().getLong(config, "seed");
this.prng = new Well19937c(seed); // non-secure & fast
} else {
Random rand = new SecureRandom();
int[] seed = new int[624];
for (int i = 0; i < seed.length; i++) {
seed[i] = rand.nextInt();
}
this.prng = new Well19937c(seed); // non-secure & fast
}
}
validateArguments();
}