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

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

Introduction

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

Prototype

RandomSource MWC_256

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

Click Source Link

Document

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

Usage

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

/**
 * Creates list./* w  ww  .j  a  va2  s .  co 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));
}