public class MakeData { public static void makeJob(int n,double p,int m){ for (int i=0;i9) System.out.println(" > ../sriData-50-70/"+ n +"-"+ p100 +"-"+ i +".txt"); else System.out.println(" > ../sriData-50-70/"+ n +"-"+ p100 +"-0"+ i +".txt"); } } public static void main(String[] args) { int n = Integer.parseInt(args[0]); // number of agents double pLo = Double.parseDouble(args[1]); // starting probability of acceptable double pHi = Double.parseDouble(args[2]); // ending probability of acceptable double pInc = Double.parseDouble(args[3]); // p increment int m = Integer.parseInt(args[4]); // number of instances at each setting double p = pLo; for (int i=0;p<=pHi+(pInc/2.0);i++){ makeJob(n,p,m); p = p + pInc; } } }