close some debug info
authorjzhou <jzhou>
Mon, 17 Mar 2008 17:11:17 +0000 (17:11 +0000)
committerjzhou <jzhou>
Mon, 17 Mar 2008 17:11:17 +0000 (17:11 +0000)
Robust/src/Benchmarks/PERT/Java/Stage.java
Robust/src/Benchmarks/PERT/Tag/PERT.java

index fc8ba8a638d4512521027049ae083eab8fbc8ce1..abc5ba98c5c7b24c7acca26e346472f5c16e2f0f 100644 (file)
@@ -37,9 +37,9 @@ public class Stage {
                tint = r.nextInt()%50;
            } while(tint <= 0);
            this.samplings[i] = tint;
-           System./*out.print*/printString(tint + "; ");
+           //System./*out.print*/printString(tint + "; ");
        }
-       System.printString("\n");//out.println();
+       //System.printString("\n");//out.println();
     }
 
     public void estimate() {
index 951312a33008b40220f48c6adcca23d05f6ccf12..aa9c48881edc596886f68739741e004fef66d9d7 100644 (file)
@@ -1,7 +1,7 @@
 task startup(StartupObject s{initialstate}) {
 
     // read in configuration parameters
-    //System.printString("Top of task startup\n");
+    System.printString("Top of task startup\n");
     String path = new String("/home/jzhou/pert/conf.txt");
     FileInputStream iStream = new FileInputStream(path);
     byte[] b = new byte[1024];
@@ -23,7 +23,7 @@ task startup(StartupObject s{initialstate}) {
 }
 
 task sampling(Stage s{sampling}) {
-    //System.printString("Top of task sampling\n");
+    System.printString("Top of task sampling\n");
 
     s.sampling();
 
@@ -31,7 +31,7 @@ task sampling(Stage s{sampling}) {
 }
 
 task estimateStage(Stage s{estimate}) {
-    //System.printString("Top of task estimateStage\n");
+    System.printString("Top of task estimateStage\n");
 
     s.estimate();
 
@@ -39,7 +39,7 @@ task estimateStage(Stage s{estimate}) {
 }
 
 task estimate(Estimator e{estimate}, optional Stage s{merge}) {
-    //System.printString("Top of task estimate\n");
+    System.printString("Top of task estimate\n");
 
     boolean fake = false;
     if(!isavailable(s)) {
@@ -55,7 +55,7 @@ task estimate(Estimator e{estimate}, optional Stage s{merge}) {
 }
 
 task prob(Estimator e{prob}) {
-    //System.printString("Top of task prob\n");
+    System.printString("Top of task prob\n");
 
     if(e.isPartial()) {
        System.printString("There are some sampling data unavailable. The anticipate probability may be greater than it should be!\n");