Fixed issues with compilation.
[IRC.git] / Robust / src / Benchmarks / Scheduling / GC / NON_BAMBOO / voronoi / TestRunner.java
index aa2f0f582be258a12550a13c71ba773fc0266bc7..52de99cab8e1064a58a4dddc51851670889ae1e9 100644 (file)
@@ -1,6 +1,7 @@
-
+package voronoi;
 
 /**
 
 /**
+ * 
  * A Java implementation of the <tt>voronoi</tt> Olden benchmark. Voronoi
  * generates a random set of points and computes a Voronoi diagram for
  * the points.
  * A Java implementation of the <tt>voronoi</tt> Olden benchmark. Voronoi
  * generates a random set of points and computes a Voronoi diagram for
  * the points.
  **/
 public class TestRunner extends Thread
 {
  **/
 public class TestRunner extends Thread
 {
-  
+
   /**
    * The number of points in the diagram
    **/
   private int points;
   /**
    * The number of points in the diagram
    **/
   private int points;
-  
+
   public TestRunner(int npoints) {
     this.points = npoints;
   }
   public TestRunner(int npoints) {
     this.points = npoints;
   }
@@ -41,13 +42,13 @@ public class TestRunner extends Thread
     Vertex point = v.createPoints(points-1, new MyDouble(extra.X()), points-1);
     Edge edge = point.buildDelaunayTriangulation(extra);
   }
     Vertex point = v.createPoints(points-1, new MyDouble(extra.X()), points-1);
     Edge edge = point.buildDelaunayTriangulation(extra);
   }
-  
+
   public static void main(String[] args) {
     int threadnum = 62;
     int npoints = 32000;
     for(int i = 0; i < threadnum; ++i) {
       TestRunner tr = new TestRunner(npoints);
   public static void main(String[] args) {
     int threadnum = 62;
     int npoints = 32000;
     for(int i = 0; i < threadnum; ++i) {
       TestRunner tr = new TestRunner(npoints);
-      tr.run();
+      tr.start();
     }
   }
 }
     }
   }
 }