/** @param args the command line arguments */
  public static void main(String[] args) {

    QParameterSetGenerator g = new QParameterSetGenerator(150, 100.0, 100.0);

    System.out.println("Starting generation");
    try {
      TextReport r;
      r = new TextReport("qdata");
      r.addLines(
          "mtba \t c2va \t mst \t c2vs \t numservers \t rho \t acdf \t scdf \t ap1 \t ap2 \t ap3 \t sp1 \t sp2 \t sp3");

      QParameterSet q;
      for (int i = 1; i <= 2000; i++) {
        q = g.generateQParameterSet();
        r.addLines(q);
        //                r.addLines(q.mtba + "\t" + q.c2va + "\t" + q.mst + "\t" + q.c2vs + "\t" +
        // q.numServers + "\t" + q.rho + "\t" + q.acdfType + "\t" + q.scdfType);
      }
    } catch (IOException e) {
      System.out.println("I/O exception opening ");
      System.exit(1);
    }
    System.out.println("Completed generation");
  }