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() {
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];
}
task sampling(Stage s{sampling}) {
- //System.printString("Top of task sampling\n");
+ System.printString("Top of task sampling\n");
s.sampling();
}
task estimateStage(Stage s{estimate}) {
- //System.printString("Top of task estimateStage\n");
+ System.printString("Top of task estimateStage\n");
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)) {
}
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");