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
LongProvider
getStateInternal
and
setStateInternal
in order to save and restore the state of an
instance (cf. BaseProvider
).
RandomSource
factory methods
defined in module "commons-rng-simple".
Interface | Description |
---|---|
RandomLongSource |
Source of randomness that generates values of type
long . |
Class | Description |
---|---|
DotyHumphreySmallFastCounting64 |
Implement the Small, Fast, Counting (SFC) 64-bit generator of Chris Doty-Humphrey.
|
JenkinsSmallFast64 |
Implement Bob Jenkins's small fast (JSF) 64-bit generator.
|
LongProvider |
Base class for all implementations that provide a
long -based
source randomness. |
MersenneTwister64 |
This class provides the 64-bits version of the originally 32-bits
Mersenne Twister . |
PcgRxsMXs64 |
A Permuted Congruential Generator (PCG) that is composed of a 64-bit Linear Congruential
Generator (LCG) combined with the RXS-M-XS (random xorshift; multiply; xorshift) output
transformation to create 64-bit output.
|
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.
|
XoRoShiRo1024PlusPlus |
A large-state all-purpose 64-bit generator.
|
XoRoShiRo1024Star |
A large-state 64-bit generator suitable for
double generation. |
XoRoShiRo1024StarStar |
A large-state all-purpose 64-bit generator.
|
XoRoShiRo128Plus |
A fast 64-bit generator suitable for
double generation. |
XoRoShiRo128PlusPlus |
A fast all-purpose 64-bit generator.
|
XoRoShiRo128StarStar |
A fast all-purpose 64-bit generator.
|
XorShift1024Star |
A fast RNG implementing the
XorShift1024* algorithm. |
XorShift1024StarPhi |
A fast RNG implementing the
XorShift1024* algorithm. |
XoShiRo256Plus |
A fast 64-bit generator suitable for
double generation. |
XoShiRo256PlusPlus |
A fast all-purpose 64-bit generator.
|
XoShiRo256StarStar |
A fast all-purpose 64-bit generator.
|
XoShiRo512Plus |
A fast 64-bit generator suitable for
double generation. |
XoShiRo512PlusPlus |
A fast all-purpose generator.
|
XoShiRo512StarStar |
A fast all-purpose generator.
|
Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.