import java.util.*; import java.io.*; public class RandomInstance { public static void main(String[] args) throws IOException { String fname = args[0]; int n = Integer.parseInt(args[1]); int lwb = Integer.parseInt(args[2]); int upb = Integer.parseInt(args[3]); double pTogether = Double.parseDouble(args[4]); double pApart = Double.parseDouble(args[5]); Scanner sc = new Scanner(new File(fname)); ArrayList name = new ArrayList(); String[] sample = new String[n]; Random gen = new Random(); int[][] A = new int[n][n]; while (sc.hasNext()) name.add(sc.next()); sc.close(); for (int i=0;i= gen.nextDouble()) A[i][j] = A[j][i] = -1; for (int i=0;i= gen.nextDouble()) A[i][j] = A[j][i] = 1; System.out.print("together = ["); for (int i=0;i