Example usage for org.apache.commons.rng.simple RandomSource MT

List of usage examples for org.apache.commons.rng.simple RandomSource MT

Introduction

In this page you can find the example usage for org.apache.commons.rng.simple RandomSource MT.

Prototype

RandomSource MT

To view the source code for org.apache.commons.rng.simple RandomSource MT.

Click Source Link

Document

Source of randomness is org.apache.commons.rng.core.source32.MersenneTwister .

Usage

From source file:org.apache.commons.rng.examples.stress.GeneratorsList.java

/**
 * Creates list./*from   ww w .j  a v  a2 s  .c o  m*/
 */
public GeneratorsList() {
    list.add(RandomSource.create(RandomSource.JDK));
    list.add(RandomSource.create(RandomSource.MT));
    list.add(RandomSource.create(RandomSource.WELL_512_A));
    list.add(RandomSource.create(RandomSource.WELL_1024_A));
    list.add(RandomSource.create(RandomSource.WELL_19937_A));
    list.add(RandomSource.create(RandomSource.WELL_19937_C));
    list.add(RandomSource.create(RandomSource.WELL_44497_A));
    list.add(RandomSource.create(RandomSource.WELL_44497_B));
    list.add(RandomSource.create(RandomSource.ISAAC));
    list.add(RandomSource.create(RandomSource.MT_64));
    list.add(RandomSource.create(RandomSource.SPLIT_MIX_64));
    list.add(RandomSource.create(RandomSource.XOR_SHIFT_1024_S));
    list.add(RandomSource.create(RandomSource.TWO_CMRES));
    list.add(RandomSource.create(RandomSource.MWC_256));
    list.add(RandomSource.create(RandomSource.KISS));
}