Package cl.niclabs.skandium.gcm.examples.mergesort

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


    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

Related Classes of cl.niclabs.skandium.gcm.examples.mergesort.MSMerge

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.