public class StdRandomNumberGenerator extends RandomNumberGenerator
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_SEED_INDEX |
protected static int[] |
GOOD_SEEDS |
protected int |
seed |
SYSTEM_RNG
Constructor and Description |
---|
StdRandomNumberGenerator() |
StdRandomNumberGenerator(int seedIndex) |
Modifier and Type | Method and Description |
---|---|
protected static int |
getSeed(int index) |
double |
next() |
getSystemRNG, setSystemRNG
public static final int DEFAULT_SEED_INDEX
protected static final int[] GOOD_SEEDS
protected int seed
public StdRandomNumberGenerator(int seedIndex)
public StdRandomNumberGenerator()
protected static int getSeed(int index)
public double next()
next
in class RandomNumberGenerator