Package org.opt4j.common.random
Class Rand
java.lang.Object
java.util.Random
org.opt4j.common.random.Rand
- All Implemented Interfaces:
Serializable
,RandomGenerator
- Direct Known Subclasses:
RandomJava
,RandomMersenneTwister
The
Rand
class is an abstract class that is utilized as an interface
for random classes.- 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
-
Constructor Summary
-
Method Summary
Methods inherited from class java.util.Random
doubles, doubles, doubles, doubles, ints, ints, ints, ints, longs, longs, longs, longs, next, nextBoolean, nextBytes, nextDouble, nextFloat, nextGaussian, nextInt, nextInt, nextLong, setSeed
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
-
Constructor Details
-
Rand
public Rand()Constructs a Rand. -
Rand
public Rand(long seed) Constructs a Rand.- Parameters:
seed
- the seed
-