|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnl.tudelft.simulation.jstats.streams.RandomNumberGenerator
nl.tudelft.simulation.jstats.streams.DX120Generator
The DX-120-4 pseudo random number generator. This generator is described in A System of High-dimensional, Efficient, Long-cycle and Portable Uniform Random Number Generators .
(c) copyright 2004 Delft
University of Technology , the Netherlands.
See for project information
www.simulation.tudelft.nl
License of use: General Public
License (GPL) , no warranty
| Field Summary |
| Fields inherited from class nl.tudelft.simulation.jstats.streams.RandomNumberGenerator |
seed |
| Constructor Summary | |
DX120Generator()
constructs a new LC48Generator. |
|
DX120Generator(long seed)
constructs a new LC48Generator |
|
| Method Summary | |
protected long |
next(int bits)
returns the next value in the stream. |
void |
setSeed(long seed)
sets the seed of the generator |
| Methods inherited from class nl.tudelft.simulation.jstats.streams.RandomNumberGenerator |
getSeed, nextBoolean, nextDouble, nextFloat, nextInt, nextInt, nextLong, reset, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DX120Generator()
public DX120Generator(long seed)
seed - the seed| Method Detail |
protected long next(int bits)
RandomNumberGenerator
next in class RandomNumberGeneratorbits - the number of bits used
RandomNumberGenerator.next(int)public void setSeed(long seed)
StreamInterface
setSeed in interface StreamInterfacesetSeed in class RandomNumberGeneratorStreamInterface.setSeed(long)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||