|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QRNG>
org.randomness.QRNG
public enum QRNG
List of implemented Quasi-Random Number Generators produce highly
uniform samples of the unit hypercube.
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:
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 |
---|
public static final QRNG HALTON
public static final QRNG SOBOL
public static final QRNG LATINE_HYPERCUBE
Method Detail |
---|
public static QRNG[] values()
for (QRNG c : QRNG.values()) System.out.println(c);
public static QRNG valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static void main(String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |