org.randomness
Enum QRNG

java.lang.Object
  extended by java.lang.Enum<QRNG>
      extended by org.randomness.QRNG
All Implemented Interfaces:
Serializable, Comparable<QRNG>

public enum QRNG
extends Enum<QRNG>

List of implemented Quasi-Random Number Generators produce highly uniform samples of the unit hypercube.

PROVISIONAL API, WORK IN PROGRESS

QRNGs minimize the discrepancy between the distribution of generated points and a distribution with equal proportions of points in each sub-cube of a uniform partition of the hypercube. As a result, QRNGs systematically fill the "holes" in any initial segment of the generated quasi-random sequence.

Unlike the pseudorandom sequences described in Common Generation Methods, quasi-random sequences fail many statistical tests for randomness. Approximating true randomness, however, is not their goal. Quasi-random sequences seek to fill space uniformly, and to do so in such a way that initial segments approximate this behavior up to a specified density.

QRNG applications include:

Author:
Антон

Enum Constant Summary
HALTON
           
LATINE_HYPERCUBE
           
SOBOL
           
 
Method Summary
static void main(String[] args)
           
static QRNG valueOf(String name)
          Returns the enum constant of this type with the specified name.
static QRNG[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

HALTON

public static final QRNG HALTON

SOBOL

public static final QRNG SOBOL

LATINE_HYPERCUBE

public static final QRNG LATINE_HYPERCUBE
Method Detail

values

public static QRNG[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (QRNG c : QRNG.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static QRNG valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

main

public static void main(String[] args)