Examples of MSCondition


Examples of cl.niclabs.skandium.gcm.examples.mergesort.MSCondition

   
    ArrayList<Integer> in = generate((int) Math.pow(2, exp));

    Skeleton<ArrayList<Integer>, ArrayList<Integer>> msort =
        new DaC<ArrayList<Integer>, ArrayList<Integer>>(
            new MSCondition(base), new MSSplit(),
            new MSExecute(), new MSMerge());
   
    System.out.println("Execute Mergesort with 2^" + exp + "elements");
    time = System.currentTimeMillis();
    sc.execute(msort, in);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.