Class PDFExporter

java.lang.Object
real_time_traffic_simulation_with_java.tools.PDFExporter

public final class PDFExporter extends Object
  • 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 simulation
      csv_timestamp - Timestamp when the simulation started (used in CSV file name)
      filter_veh_color - Color of vehicle to filter, empty string for no filter
      filter_congested_edges - Whether to filter only congested edges
      data_from_simulation_engine - Listinvalid input: '<'String[]>, 1st element is {edgeCount, tlsCount}, 2nd element is {exportedSimulationStep}, each next are {edgeID, laneCount, length}