public class StdRandomNumberGeneratorFactory extends java.lang.Object implements RandomNumberGeneratorFactory
Constructor and Description |
---|
StdRandomNumberGeneratorFactory() |
Modifier and Type | Method and Description |
---|---|
RandomNumberGenerator |
createRNG(int seedIndex)
create a new random number generator with the given seed index
|
public RandomNumberGenerator createRNG(int seedIndex)
RandomNumberGeneratorFactory
createRNG
in interface RandomNumberGeneratorFactory
seedIndex
- may be any integer - make sure to map this to the set of
possible seed indices allowed by your RNG implementation