Overview:
We designed the implementation for a traffic simulator to help people understand the theory of traffic flow and optimize traffic light systems.

The main design we created connects roads and intersections via references and controls the movement of cars through the lanes. This design was motivated by the splitting up of what are continuous roads in real life into roads and intersections that have different, but consistent roles in traffic.

Traffic Simulation and Optimizer Architecture