public class RandomStressTester extends Object
UniformRandomProvider.nextInt() method to a
program that reads int values from its standard input and
writes an analysis report to standard output.
The
"dieharder" test suite is such a software.
Example of command line, assuming that "examples.jar" specifies this
class as the "main" class (see main method):
$ java -jar examples.jar \
report/dh_ \
4 \
org.apache.commons.rng.examples.stress.GeneratorsList \
/usr/bin/dieharder -a -g 200 -Y 1 -k 2
public static void main(String[] args)
args - Application's arguments.
The order is as follows:
Iterable<UniformRandomProvider>
(and defines a default constructor): Each generator of the list will be
tested by one instance of the analyzer programCopyright © 2016 The Apache Software Foundation. All rights reserved.