public void createCalibrationCharts(String colorScheme,SortedMap<Integer,Integer[]> distanceTripMap,SortedMap<Integer,Integer[]> travelTimeTripMap,SortedMap<Integer,Integer[]> numberTripsPerMode,String path,String surveyName) throws IOException {
  path=path.substring(0,path.lastIndexOf("/")) + "/calibration" + path.substring(path.lastIndexOf("/"),path.length());
  getSimulationData(distanceTripMap,travelTimeTripMap,numberTripsPerMode);
  simulationDistDataset.calculateSharesAndTotals();
  simulationTTDataset.calculateSharesAndTotals();
  commonColorScheme=colorScheme;
  createModeShareStackedBarChart(surveyName + " Mode Share per Distance Class",path + fileTripDistanceByModeBenchmark,surveyDistDataset,"Distance [km]","Mode share [%]");
  createModeShareStackedBarChart("Simulation Mode Share per Distance Class",path + fileTripDistanceByModeSimulation,simulationDistDataset,"Distance [km]","Mode share [%]");
  createModeShareComparisonChart("Modeshare per Distance Class - " + surveyName + " vs. Simulation",path + fileTripDistanceByModeComparison,simulationDistDataset,surveyDistDataset,"Distance [km]","Bias mode share [%]");
  createCummulativeModeShareChart(surveyName + " Cumulative Mode Share per Distance Class",path + fileCumulativeTripDistanceByModeBenchmark,surveyDistDataset,"Distance [km]","Cumulative mode share [%]");
  createCummulativeModeShareChart("Simulation Cumulative Mode Share per Distance Class",path + fileCumulativeTripDistanceByModeSimulation,simulationDistDataset,"Distance [km]","Cumulative mode share [%]");
  createCummulativeModeShareComparisonChart("Cummulative Modeshare per Distance Class - " + surveyName + " vs. Simulation",path + fileCumulativeTripDistanceByModeComparison,simulationDistDataset,surveyDistDataset,"Distance [km]","Bias cumulative mode share (%)");
  createModeShareStackedBarChart(surveyName + " Mode Share per Travel Time Class",path + fileTripTTByModeBenchmark,surveyTTDataset,"Travel Time [min]","Mode share [%]");
  createModeShareStackedBarChart("Simulation Mode Share per Travel Time Class",path + fileTripTTByModeSimulation,simulationTTDataset,"Travel Time [min]","Mode share [%]");
  createModeShareComparisonChart("Modeshare per Travel Time - " + surveyName + " vs. Simulation",path + fileTripTTByModeComparison,simulationTTDataset,surveyTTDataset,"Travel Time [min]","Bias mode share [%]");
  createCummulativeModeShareChart(surveyName + " Cumulative Mode Share per Travel Time Class",path + fileCumulativeTripTTByModeBenchmark,surveyTTDataset,"Travel Time [min]","Cumulative mode share [%]");
  createCummulativeModeShareChart("Simulation Cumulative Mode Share per Travel Time Class",path + fileCumModeshareTTSimulation,simulationTTDataset,"Travel Time [min]","Cumulative mode share [%]");
  createCummulativeModeShareComparisonChart("Cummulative Modeshare per Travel Time Class - " + surveyName + " vs. Simulation",path + fileCumModeshareTTComparison,simulationTTDataset,surveyTTDataset,"Travel Time [min]","Bias cumulative mode share (%)");
  createModeShareHistoryChart("Simulation Modeshare",path.substring(0,path.indexOf("ITERS")) + fileModeshareHistory,modeShareHistoryDataset,"Iteration","Mode share [%]",surveyTTDataset);
}

public void createCalibrationCharts ( String colorScheme , SortedMap < Integer , Integer [ ] > distanceTripMap , SortedMap < Integer , Integer [ ] > travelTimeTripMap , SortedMap < Integer , Integer [ ] > numberTripsPerMode , String path , String surveyName ) throws IOException { path = path . substring ( 0 , path . lastIndexOf ( "/" ) ) + "/calibration" + path . substring ( path . lastIndexOf ( "/" ) , path . length ( ) ) ; getSimulationData ( distanceTripMap , travelTimeTripMap , numberTripsPerMode ) ; simulationDistDataset . calculateSharesAndTotals ( ) ; simulationTTDataset . calculateSharesAndTotals ( ) ; commonColorScheme = colorScheme ; createModeShareStackedBarChart ( surveyName + " Mode Share per Distance Class" , path + fileTripDistanceByModeBenchmark , surveyDistDataset , "Distance [km]" , "Mode share [%]" ) ; createModeShareStackedBarChart ( "Simulation Mode Share per Distance Class" , path + fileTripDistanceByModeSimulation , simulationDistDataset , "Distance [km]" , "Mode share [%]" ) ; createModeShareComparisonChart ( "Modeshare per Distance Class - " + surveyName + " vs. Simulation" , path + fileTripDistanceByModeComparison , simulationDistDataset , surveyDistDataset , "Distance [km]" , "Bias mode share [%]" ) ; createCummulativeModeShareChart ( surveyName + " Cumulative Mode Share per Distance Class" , path + fileCumulativeTripDistanceByModeBenchmark , surveyDistDataset , "Distance [km]" , "Cumulative mode share [%]" ) ; createCummulativeModeShareChart ( "Simulation Cumulative Mode Share per Distance Class" , path + fileCumulativeTripDistanceByModeSimulation , simulationDistDataset , "Distance [km]" , "Cumulative mode share [%]" ) ; createCummulativeModeShareComparisonChart ( "Cummulative Modeshare per Distance Class - " + surveyName + " vs. Simulation" , path + fileCumulativeTripDistanceByModeComparison , simulationDistDataset , surveyDistDataset , "Distance [km]" , "Bias cumulative mode share (%)" ) ; createModeShareStackedBarChart ( surveyName + " Mode Share per Travel Time Class" , path + fileTripTTByModeBenchmark , surveyTTDataset , "Travel Time [min]" , "Mode share [%]" ) ; createModeShareStackedBarChart ( "Simulation Mode Share per Travel Time Class" , path + fileTripTTByModeSimulation , simulationTTDataset , "Travel Time [min]" , "Mode share [%]" ) ; createModeShareComparisonChart ( "Modeshare per Travel Time - " + surveyName + " vs. Simulation" , path + fileTripTTByModeComparison , simulationTTDataset , surveyTTDataset , "Travel Time [min]" , "Bias mode share [%]" ) ; createCummulativeModeShareChart ( surveyName + " Cumulative Mode Share per Travel Time Class" , path + fileCumulativeTripTTByModeBenchmark , surveyTTDataset , "Travel Time [min]" , "Cumulative mode share [%]" ) ; createCummulativeModeShareChart ( "Simulation Cumulative Mode Share per Travel Time Class" , path + fileCumModeshareTTSimulation , simulationTTDataset , "Travel Time [min]" , "Cumulative mode share [%]" ) ; createCummulativeModeShareComparisonChart ( "Cummulative Modeshare per Travel Time Class - " + surveyName + " vs. Simulation" , path + fileCumModeshareTTComparison , simulationTTDataset , surveyTTDataset , "Travel Time [min]" , "Bias cumulative mode share (%)" ) ; createModeShareHistoryChart ( "Simulation Modeshare" , path . substring ( 0 , path . indexOf ( "ITERS" ) ) + fileModeshareHistory , modeShareHistoryDataset , "Iteration" , "Mode share [%]" , surveyTTDataset ) ; }
creates calibration charts for the simulation and benchmark / survey dataset param color scheme ( red_scheme , autumn , muted rainbow , lollapalooza , french girl , m8_colors ) param map of number of trips per distances class , split by mode param map of number of trips per travel time class , split by mode param map of number of trips per iteration , split my mode param path of the iteration folder param survey name
