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
The following table illustrates the streams implemented in the JSTATS package. The speed is computed on a 32-bit Intel based Pentium processor on JDK1.4.2_04 by drawing 107 double values from the particular stream.
Speeds of the streams
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