Method | Description | |
---|---|---|
MersenneTwister ( ) : System |
Constructs the PRNG-object and seeds the PRNG with the current time of day. This is what you will mostly want to use.
|
|
MersenneTwister ( |
Constructs the PRNG-object using the designated seed. This is useful if you want to repeat experiments with the same sequence of pseudo-random numbers.
|
|
Rand ( ) : |
Draw a random number in inclusive range {0, .., RandMax}
|
Method | Description | |
---|---|---|
Seed ( |
Seed with an integer.
|
public MersenneTwister ( |
||
seed | ||
return | System |
protected final Seed ( |
||
seed | ||
return | void |