public class JavaUtilRNGSupplier extends Object implements RNGSupplier
| Constructor and Description |
|---|
JavaUtilRNGSupplier()
Takes the current timestamp as initialSeed
|
JavaUtilRNGSupplier(long initSeed)
Use this do define a specific initial seed, e.g.
|
| Modifier and Type | Method and Description |
|---|---|
GaussianDistributionRNG |
getGaussianDistributionRNG() |
GaussianDistributionRNG |
getGaussianDistributionRNG(long seed) |
long |
getInitSeed() |
UniformDistributionRNG |
getUniformDistributionRNG() |
UniformDistributionRNG |
getUniformDistributionRNG(long seed) |
public JavaUtilRNGSupplier()
public JavaUtilRNGSupplier(long initSeed)
initSeed - The initial Seed of the SeedGeneratorpublic UniformDistributionRNG getUniformDistributionRNG(long seed)
getUniformDistributionRNG in interface RNGSupplierpublic UniformDistributionRNG getUniformDistributionRNG()
getUniformDistributionRNG in interface RNGSupplierpublic long getInitSeed()
public GaussianDistributionRNG getGaussianDistributionRNG()
getGaussianDistributionRNG in interface RNGSupplierpublic GaussianDistributionRNG getGaussianDistributionRNG(long seed)
getGaussianDistributionRNG in interface RNGSupplierCopyright © 2017. All rights reserved.