Package | Description |
---|---|
org.uncommons.maths.random |
This package provides deterministic, repeatable, pseudo-random number
generators, a set of strategies for seeding them, and classes for generating
values from different probability distributions.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultSeedGenerator
Seed generator that maintains multiple strategies for seed
generation and will delegate to the best one available for the
current operating environment.
|
class |
DevRandomSeedGenerator
RNG seed strategy that gets data from /dev/random on systems
that provide it (e.g.
|
class |
RandomDotOrgSeedGenerator
Connects to the random.org
website (via HTTPS) and downloads a set of random bits to use as seed data.
|
class |
SecureRandomSeedGenerator
SeedGenerator implementation that uses Java's bundled
SecureRandom RNG to generate random seed data. |
Constructor and Description |
---|
AESCounterRNG(SeedGenerator seedGenerator)
Seed the RNG using the provided seed generation strategy to create a 128-bit
seed.
|
CellularAutomatonRNG(SeedGenerator seedGenerator)
Seed the RNG using the provided seed generation strategy.
|
CMWC4096RNG(SeedGenerator seedGenerator)
Seed the RNG using the provided seed generation strategy.
|
JavaRNG(SeedGenerator seedGenerator)
Seed the RNG using the provided seed generation strategy.
|
MersenneTwisterRNG(SeedGenerator seedGenerator)
Seed the RNG using the provided seed generation strategy.
|
XORShiftRNG(SeedGenerator seedGenerator)
Seed the RNG using the provided seed generation strategy.
|
Copyright © 2015. All rights reserved.