Package org.apache.commons.rng.core.source64
Concrete algorithms for long-based sources of randomness
For internal use only: Direct access to classes in this package is discouraged, as they could be modified without notice.
Notes for developers
-
A source of randomness must inherit from
LongProvider - The "provider" must specify one way for setting the seed. For a given seed, the generated sequence must always be the same.
-
The "provider" must implement methods
getStateInternalandsetStateInternalin order to save and restore the state of an instance (cf.BaseProvider). -
When a new class is implemented here, user-access to it must be
provided through associated
RandomSourcefactory methods defined in module "commons-rng-simple".
-
Interface Summary Interface Description RandomLongSource Source of randomness that generates values of typelong. -
Class Summary Class Description LongProvider Base class for all implementations that provide along-based source randomness.MersenneTwister64 This class provides the 64-bits version of the originally 32-bitsMersenne Twister.SplitMix64 A fast RNG, with 64 bits of state, that can be used to initialize the state of other generators.TwoCmres Random number generator designed by Mark D. Overton.XoRoShiRo128Plus A fast 64-bit generator suitable fordoublegeneration.XoRoShiRo128StarStar A fast all-purpose 64-bit generator.XorShift1024Star A fast RNG implementing theXorShift1024*algorithm.XorShift1024StarPhi A fast RNG implementing theXorShift1024*algorithm.XoShiRo256Plus A fast 64-bit generator suitable fordoublegeneration.XoShiRo256StarStar A fast all-purpose 64-bit generator.XoShiRo512Plus A fast 64-bit generator suitable fordoublegeneration.XoShiRo512StarStar A fast all-purpose generator.