public class FastRandom extends Object
Currently, we only have an implementation of the Mersenne Twister PRNG.
| Constructor and Description |
|---|
FastRandom() |
| Modifier and Type | Method and Description |
|---|---|
static void |
internal_test()
testbed, do not call !
|
static int |
mtrand()
The Mersenne Twister PRNG, based on the following paper:
|
static void |
mtseed(int n)
seed the Mersenne Twister PRNG
|
public static final void mtseed(int n)
public static final int mtrand()
Makato Matsumoto and Takuji Nishimura, "Mersenne Twister: A 623-Dimensionally Equidistributed Uniform Pseudo-Random Number Generator", in ACM Transactions on Modeling and Computer Simulation
public static void internal_test()
This file is a part of the JDD package, a native Java Binary Decision Diagram Library.