private static final void printSetting() { reader.printInfo(" "); if (srModule != null) { srModule.printInfo(" "); } if (mrModule != null) { mrModule.printInfo(" "); } System.out.println(" output:"); System.out.println(" outputDir: "+outputDir); System.out.println(" writeNetworkXmlFile: "+writeNetworkXmlFile); System.out.println(" writeNetworkTxtFile: "+writeNetworkTxtFile); System.out.println(" writeNetworkShapeFile: "+writeNetworkShapeFile); }
public void run(final Network network) { try { run2(network); } catch (Exception e) { throw new RuntimeException(e);
if (minSpeedForNormalCapacity != Integer.MAX_VALUE) { reader.minSpeedForNormalCapacity = minSpeedForNormalCapacity; } if (srDbfFileName != null) { srModule = new NetworkTeleatlasAddSpeedRestrictions(srDbfFileName); }
if (srModule != null) { srModule.run(network); } if (mrModule != null) { mrModule.run(network); }