All Classes and Interfaces
Classes
Class
Description
The main application class for the Real-Time Traffic Simulation with Java.
ChartSection class represents a bar chart displaying live statistics of edges in the traffic simulation.
Utility classs: Stores all the sumo color code definitions to prevent user from generting so many color types,
thus make the code easier to look and fix.
Control panel pane that wires together all control components.
Manages CSV log files for the traffic simulation.
Utility class for creating commonly used UI controls with tooltips
The statistic panel on the right side of the main window
Use to display statistics about the simulation
Represents the visual data of an edge in the simulation,
grouping a rectangle representing the edge and dashed lines representing lane dividers.
Wrapper class for TraaS to manage edges in the simulation
Class to create and add an edge table to a PDF document
3 columns: Edge ID, No. of Lanes, Length (m) with option to filter only congested edges
3 columns: Edge ID, No. of Lanes, Length (m) with option to filter only congested edges
Handles CSV export on a background thread.
Export component with CSV export button
This class provides a method to add headings to a PDF document.
Represents the visual data of a junction in the simulation.
Wrapper class for TraaS to manage junctions in the simulation
Main window class that sets up the primary GUI components and manages the animation timer
Create map panel including 3 layers: road layer (bottom-most), vehicle layer, traffic light layer (top-most).
Utility class: Stores all the metrics used in the simulation,
thus make the code easier to look and fix.
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)
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)
Retrieve overall data from CSV file for summary
Utility class: Stores all the paths used in the simulation,
thus make the code easier to look and fix.
Provides methods to add charts to a PDF document using data from a CSV log file.
This class represents the data structure for report data used in exporting vehicle information.
Create road layer including junctions and edges,
with tooltips and mouse events on edges.
Wrapper class for TraaS to manage routes in the simulation
Core to control the simulation, center of backend operations.
Stress test component with input field and edge selection
Wrapper class for SumoTraciConnection to manage connection with SUMO simulator using TraaS library
The text section of the dashboard
Display basic info and congestion hotspot info
Represents the visual data of a traffic light in the simulation,
grouping multiple Polygons representing the sub-lights of the traffic light.
Create traffic lights layer including traffic lights,
with tooltip for better interactivity.
Wrapper class for TraaS to manage traffic lights in the simulation
Traffic light toggle component with a single button
A popup window designed to adjust traffic light phases' durations
Returns a List of Integer representing the new durations for each phase upon confirmation
If no changes were made or invalid input was provided, returns null
Will display appropriate notification alerts upon closing
Returns a List of Integer representing the new durations for each phase upon confirmation
If no changes were made or invalid input was provided, returns null
Will display appropriate notification alerts upon closing
Represents the visual data of a vehicle in the simulation.
Vehicle filter component with color and edge filters
Vehicle injection component with input fields and controls
Create vehicle layer including vehicles.
Wrapper class for TraaS to manage vehicles in the simulation