示例#1
0
  private static void processOldResults() throws IOException {

    for (int run = 1; run <= 10; run++) {

      final String configFileBaseCase = "config_base-case_" + run + ".xml";
      final String populationFileBaseCase =
          "output_base-case_" + run + "\\ITERS\\it.100\\run0.100.plans.xml.gz";
      final String matlabFileBaseCase = "matlab_base-case_" + run + ".data";
      final PopulationReader readerBaseCase =
          new PopulationReader(configFileBaseCase, populationFileBaseCase, matlabFileBaseCase);
      readerBaseCase.run();

      final String configFileWithTunnel = "config_with-tunnel_" + run + ".xml";
      final String populationFileWithTunnel =
          "output_with-tunnel_" + run + "\\ITERS\\it.100\\run0.100.plans.xml.gz";
      final String matlabFileWithTunnel = "matlab_with-tunnel_" + run + ".data";
      final PopulationReader readerWithTunnel =
          new PopulationReader(
              configFileWithTunnel, populationFileWithTunnel, matlabFileWithTunnel);
      readerWithTunnel.run();
    }
  }