public class JavaRandomNumberGeneratorFactory extends java.lang.Object implements RandomNumberGeneratorFactory
Constructor and Description |
---|
JavaRandomNumberGeneratorFactory() |
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