Class ObjectCount

java.lang.Object
real_time_traffic_simulation_with_java.tools.PDFmethod.ObjectCount

public final class ObjectCount extends Object
Class to add object count information to PDF document
Information includes: total edge count (if not filtering congested edges) + total congested edge count + congested edge IDs (if any), traffic light count, total vehicle count (if not filtering by color) + vehicle count by color (only 1 specific color if filtering)
  • Method Details

    • addObjectCount

      public static void addObjectCount(com.lowagie.text.Document document, String filter_veh_color, boolean filter_congested_edges, String edgeCount, String tlsCount, List<String[]> csv_overall_data)