public static final class LCG64ShiftRandom.Param extends Object implements Serializable
LCG64ShiftRandom
generator, for the
parameters a and b of the LC recursion
ri+1 = a · ri + b mod 264.Modifier and Type | Field and Description |
---|---|
long |
a
The parameter a of the LC recursion.
|
long |
b
The parameter b of the LC recursion.
|
static LCG64ShiftRandom.Param |
DEFAULT
The default PRNG parameters: a = 0xFBD19FBBC5C07FF5L; b = 1
|
static LCG64ShiftRandom.Param |
LECUYER1
LEcuyer 1 parameters: a = 0x27BB2EE687B0B0FDL; b = 1
|
static LCG64ShiftRandom.Param |
LECUYER2
LEcuyer 2 parameters: a = 0x2C6FE96EE78B6955L; b = 1
|
static LCG64ShiftRandom.Param |
LECUYER3
LEcuyer 3 parameters: a = 0x369DEA0F31A53F85L; b = 1
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
static LCG64ShiftRandom.Param |
of(long a,
long b) |
String |
toString() |
public static final LCG64ShiftRandom.Param DEFAULT
public static final LCG64ShiftRandom.Param LECUYER1
public static final LCG64ShiftRandom.Param LECUYER2
public static final LCG64ShiftRandom.Param LECUYER3
public final long a
public final long b
© 2007-2016 Franz Wilhelmstötter (2016-12-26 11:02)