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.
genetic-algorithm traffic simulation-model traffic-light-control simulation-algorithm petri-object-model controlled-intersection
- Updated
Dec 20, 2024 - Java