From b7ffda68a8546f72fa33e175524f096e3f93d8f8 Mon Sep 17 00:00:00 2001 From: jzhou Date: Mon, 17 Mar 2008 17:11:17 +0000 Subject: [PATCH] close some debug info --- Robust/src/Benchmarks/PERT/Java/Stage.java | 4 ++-- Robust/src/Benchmarks/PERT/Tag/PERT.java | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Robust/src/Benchmarks/PERT/Java/Stage.java b/Robust/src/Benchmarks/PERT/Java/Stage.java index fc8ba8a6..abc5ba98 100644 --- a/Robust/src/Benchmarks/PERT/Java/Stage.java +++ b/Robust/src/Benchmarks/PERT/Java/Stage.java @@ -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() { diff --git a/Robust/src/Benchmarks/PERT/Tag/PERT.java b/Robust/src/Benchmarks/PERT/Tag/PERT.java index 951312a3..aa9c4888 100644 --- a/Robust/src/Benchmarks/PERT/Tag/PERT.java +++ b/Robust/src/Benchmarks/PERT/Tag/PERT.java @@ -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"); -- 2.34.1