AdvancedMiner offers several random number generators with uniform distribution. There are two methods available nextRand() and setSeed(int seed).
List of available generators
Knuth's substractive generator
Knuth's substractive random number generator is described in [1].
Knuth's substractive random generator is created in the following way:
KnuthSubstractiveGen().
The long period random number generator of L'Ecuyer with Bays-Durham shuffle
The long period random number generator of L'Ecuyer with Bays-Durham shuffle is based on two congruential random generators:
and
The period of the generator is approximately 2.3*10^18. For the first time it has been described in [2].
LEcuyerShuffleGen() creates a long period random number generator of L'Ecuyer with Bays-Durham shuffle object.
Marsaglia, Zaman and Tsang generator
Marsaglia, Zaman and Tsang random number generator is a combination of two simpler Fibonacci generators. The period of the generator is approximately 2.23*10^43. For the first time it has been described in [3].
MZTGen() creates Marsaglia, Zaman and Tsang random number generator object.
Park-Miller congruential generator
Park-Miller congruential generator is a simple congruential random generator of Park and Miller:
The period of the generator is approximately 2.1 * 10^9. For the first time it has been described in [4].
ParkMillerCongruentialGen() creates a Park-Miller congruential generator object.
Park-Miller congruential generator with shuffle
It is a simple congruential random generator of Park and Miller with Bays-Durham shuffle.
The period of the generator is approximately 2.1 * 10^9. It is described in [1].
ParkMillerShuffleCongruentialGen() creates a Park-Miller congruential generator with shuffle object.