Class PDFExporter
java.lang.Object
real_time_traffic_simulation_with_java.tools.PDFExporter
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidexportSummary(String csv_path, String csv_timestamp, String filter_veh_color, boolean filter_congested_edges, List<String[]> data_from_simulation_engine) Export summary PDF file from data from SUMO and CSV log file, allow filtering options: vehicle color and congested edges only
-
Method Details
-
exportSummary
public static void exportSummary(String csv_path, String csv_timestamp, String filter_veh_color, boolean filter_congested_edges, List<String[]> data_from_simulation_engine) Export summary PDF file from data from SUMO and CSV log file, allow filtering options: vehicle color and congested edges only- Parameters:
csv_path- Path to the CSV log file of current simulationcsv_timestamp- Timestamp when the simulation started (used in CSV file name)filter_veh_color- Color of vehicle to filter, empty string for no filterfilter_congested_edges- Whether to filter only congested edgesdata_from_simulation_engine- Listinvalid input: '<'String[]>, 1st element is {edgeCount, tlsCount}, 2nd element is {exportedSimulationStep}, each next are {edgeID, laneCount, length}
-