Package nl.tudelft.simulation.jstats.streams
Provides classes and interfaces for streams used in the JSTATS package. The differences between these generators is expressed
by their quality criteria as expressed by (Knuth, 1980):
- the computational speed of the algorithm used
- the period of recurrence
| SPEED (milliseconds) | PERIOD | |
| LC64Generator | 1292 | 1.8 x 1019 |
| Java2Random | 1452 | 2.8 x 1014 |
| DX-120 | 1703 | 0.679 x 101120 |
| MersenneTwister | 2153 | 1 x 106001.6 |
Copyright (c) 2002-2023 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://simulation.tudelft.nl. The DSOL project is distributed under a three-clause BSD-style license, which can be found at https://https://simulation.tudelft.nl/dsol/docs/latest/license.html.
- Author:
- Alexander Verbraeck, Peter Jacobs
-
Interface Summary Interface Description StreamInterface The StreamInterface defines the streams to be used within the JSTATS package. -
Class Summary Class Description DX120Generator The DX-120-4 pseudo random number generator.Java2Random The Java2Random is an extension of thejava.util.Randomclass which implements the StreamInterface.MersenneTwister A java implementation of the Mersenne Twister pseudo random number generator.RandomNumberGenerator The RandomNumberGenerator class provides an abstract basis for all pseudo random number generators. -
Exception Summary Exception Description StreamException Exception for the Random Number Generators.