Package org.ujmp.core.util
Class RandomMersenne
java.lang.Object
java.util.Random
org.ujmp.core.util.RandomMersenne
- All Implemented Interfaces:
Serializable
,RandomGenerator
Better than java.util.Random and almost as fast
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.util.random.RandomGenerator
RandomGenerator.ArbitrarilyJumpableGenerator, RandomGenerator.JumpableGenerator, RandomGenerator.LeapableGenerator, RandomGenerator.SplittableGenerator, RandomGenerator.StreamableGenerator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
private long
private long
private long
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.Random
doubles, doubles, doubles, doubles, ints, ints, ints, ints, longs, longs, longs, longs, nextBoolean, nextBytes, nextDouble, nextFloat, nextGaussian, nextInt, nextInt
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.random.RandomGenerator
isDeprecated, nextDouble, nextDouble, nextExponential, nextFloat, nextFloat, nextGaussian, nextInt, nextLong, nextLong
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
u
private long u -
v
private long v -
w
private long w
-
-
Constructor Details
-
RandomMersenne
public RandomMersenne() -
RandomMersenne
public RandomMersenne(long seed)
-
-
Method Details