public class DX120Generator extends RandomNumberGenerator
(c) copyright 2004 Delft
University of Technology , the Netherlands.
See for project information
www.simulation.tudelft.nl
License of use: Lesser
General Public License (LGPL) , no warranty.
seed
Constructor and Description |
---|
DX120Generator()
constructs a new LC48Generator.
|
DX120Generator(long seed)
constructs a new LC48Generator
|
Modifier and Type | Method and Description |
---|---|
protected long |
next(int bits)
returns the next value in the stream.
|
void |
setSeed(long seed)
sets the seed of the generator
|
getSeed, nextBoolean, nextDouble, nextFloat, nextInt, nextInt, nextLong, reset, toString
public DX120Generator()
public DX120Generator(long seed)
seed
- the seedprotected long next(int bits)
RandomNumberGenerator
next
in class RandomNumberGenerator
bits
- the number of bits usedRandomNumberGenerator.next(int)
public void setSeed(long seed)
StreamInterface
setSeed
in interface StreamInterface
setSeed
in class RandomNumberGenerator
seed
- the new seedStreamInterface.setSeed(long)
Copyright © 2002-2012 Delft University of Technology, the Netherlands. All Rights Reserved.