Package org.apache.commons.math.random

Examples of org.apache.commons.math.random.Well44497b


import dclong.stat.Combination;
import dclong.util.Timer;

public class TestSPTsImpl {
  public static void main(String[] args) throws IOException{
    RandomGenerator rg = new Well44497b(31);
    RandomDataImpl rng = new RandomDataImpl(rg);
//    int sizeOfEachDataSet = 16;
    int sizeOfEachDataSet = 26;
//    int sizeOfFirstGroup = 8;
    int sizeOfFirstGroup = 5;
View Full Code Here


import dclong.stat.Combination;
import dclong.util.Timer;

public class TestSPTsRunnable {
  public static void main(String[] args) throws IOException{
    RandomGenerator rg = new Well44497b(31);
    RandomDataImpl rng = new RandomDataImpl(rg);
//    int numberOfTests = 12625;
    int numberOfTests = 10000;
//    int sizeOfEachDataSet = 26;
    int sizeOfEachDataSet = 16;
View Full Code Here

import dclong.stat.Combination;
import dclong.util.Timer;

public class TestSPTsSimulation {
  public static void main(String[] args) throws IOException {
    RandomGenerator rg = new Well44497b(31);
    RandomDataImpl rng = new RandomDataImpl(rg);
    // warm up RNG to avoid overlap of the Table-2 job
    Timer timer = new Timer();
    int upperBound = Combination.choose(26, 5).intValue() - 1;
    for (int i = 0; i < 130000000; ++i) {
View Full Code Here

TOP

Related Classes of org.apache.commons.math.random.Well44497b

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.