Package nl.tudelft.simulation.jstats.streams
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-2024 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
-
ClassDescriptionThe DX-120-4 pseudo random number generator.The Java2Random is an extension of the
java.util.Random
class which implements the StreamInterface.A java implementation of the Mersenne Twister pseudo random number generator.The RandomNumberGenerator class provides an abstract basis for all pseudo random number generators.Exception for the Random Number Generators.The StreamInterface defines the streams to be used within the JSTATS package.