| Interface | Description |
|---|---|
| PseudoRandom |
A generator of uniform pseudorandom values.
|
| PseudoRandomStream |
Each method that returns a stream produces a stream of values each of which
is chosen in the same manner as for a method that returns a single
pseudorandomly chosen value.
|
| SplittablePseudoRandom |
A generator of uniform pseudorandom values applicable for use in (among other
contexts) isolated parallel computations that may generate subtasks.
|
| Class | Description |
|---|---|
| AbstractRng64 |
Abstract base class for 64-bit pseudo RNGs.
|
| BitMix |
A selection of 64-bit mixing functions for longs and 32-bit mixing functions
for ints.
|
| DefaultRng |
Factory methods for the default
PseudoRandom algorithm which is
currently a MersenneTwister64. |
| Interleaved4Stc64 |
4 daisy-chained Stc64 generators that are called in
round-robin fashion, i.e., first gen_0, then gen_1, then
gen_2, then gen_3, then again gen_0 and so on. |
| Lcg64Xor1024Mix |
The
L64X1024MixRandom algorithm from JDK 17 which uses a linear
congruential generator (LCG) as a first subgenerator and a Xor-based
generator (xoroshiro1024) as a second subgenerator and then applies a 64-bit
mixing function identified by Doug Lea. |
| MersenneTwister64 |
64-bit Mersenne Twister.
|
| Seed |
Generates a pseudo-random long seed.
|
| Sfc64 |
Chris Doty-Humphrey's 256-bit "Small Fast Counting RNG" (
sfc64). |
| SplitMix64 |
64-bit
SplitMix-type pseudo random generator suggested by
Guy Steele, Doug Lea,
Christine Flood (2014). |
| SplitMix64Seed |
The splitmix64() generator (here only used for seed generation) which is
based on Guy
Steele, Doug Lea, Christine Flood (2014) and has been included in Java 8
as
SplittableRandom (this implementation uses a mixing
function which is different from the one used in SplittableRandom. |
| Stc64 |
The 256-bit generator
Stc64 is Tyge Løvset's improved variation of
Sfc64. |
| XorShift1024Star |
1024-bit Xorshift pseudo random generator suggested by
George Marsaglia
(2003) as studied by
Sebastiano Vigna (2016).
|
| XorShift128Plus |
128-bit
xorshift128+ pseudo random generator suggested by
Sebastiano
Vigna (2017). |
| XorShift64Star |
64-bit Xorshift* pseudo random generator by
George Marsaglia
(2003).
|
| XorShiftRot256PlusPlus |
256-bit
xoshiro256++ pseudo random generator suggested by
David Blackman and Sebastiano
Vigna (2019). |
| XorShiftRot256StarStar |
256-bit
xoshiro256** pseudo random generator suggested by
David Blackman and Sebastiano
Vigna (2019). |
Copyright © 2022. All rights reserved.