This project simulates and optimizes traffic flow at a four-way intersection, employing Petri nets (Java) for simulation and a genetic algorithm (Java) to determine optimal traffic light phase durations. Python scripts are included for visualizing simulation statistics, fitness landscapes, and the algorithm's evolution, aiming to minimize traffic.
-
Updated
Dec 20, 2024 - Java