public final class LaggedFibonacci extends java.lang.Object implements RandomGenerator
| Constructor and Description |
|---|
LaggedFibonacci()
Constructs an additive lagged Fibonacci random number generator with the default (zero) seed.
|
LaggedFibonacci(int s)
Constructs an additive lagged Fibonacci random number generator with the given seed.
|
public LaggedFibonacci()
public LaggedFibonacci(int s)
s - the seed to be set.public void seed(int s)
RandomGeneratorseed in interface RandomGenerators - the seed to be set.public int next()
RandomGeneratornext in interface RandomGenerator