Exemplo n.º 1
0
  /**
   * @param args Command line arguments.
   * @throws JMetalException
   * @throws java.io.FileNotFoundException Invoking command: java MOMBIRunner problemName
   *     [referenceFront]
   */
  public static void experiment() {
    ListOrderedMap problemMap = ProblemListUtils.getProblemsMap();

    for (int i = 0; i < problemMap.size(); i++) {
      for (int j = 0; j < 30; j++) {
        singleRun((String) problemMap.get(i), (String) problemMap.getValue(i));
      }
    }

    FileRename.renameFile(
        "G:\\学习资料\\百度云\\ItelliWorkSpace\\J4MOP", "indicators.tsv", "MOMBI2_metrics.tsv");
    FileRename.renameFile("G:\\学习资料\\百度云\\ItelliWorkSpace\\J4MOP", "FUN.tsv", "MOMBI2_FUN.tsv");
    FileRename.renameFile("G:\\学习资料\\百度云\\ItelliWorkSpace\\J4MOP", "VAR.tsv", "MOMBI2_VAR.tsv");
  }