Class SeedGenerator
java.lang.Object
eduni.distributions.SeedGenerator
- All Implemented Interfaces:
DiscreteGenerator,Seedable
A SeedGenerator is a DiscreteGenerator which produces well-spaced seeds
according to its spacing attribute. It relies on a
RandomGenerator-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SeedGenerator
public SeedGenerator() -
SeedGenerator
public SeedGenerator(long seed, int spacing)
-
-
Method Details
-
setSeed
-
getSeed
-
reseed
-
sample
public long sample()- Specified by:
samplein interfaceDiscreteGenerator
-