Road traffic simulation with ML-optimized traffic lights for maximum flow.
Traffic Simulator generates a random traffic network based on user-defined parameters, and uses machine-learning methods to optimize traffic lights for better flow.
Simply set your parameters and watch the magic happen ✨.
This project uses CMake for easy cross-platform builds.
git clone https://github.com/ninja7v/Traffic-Simulator.git
cd Traffic-Simulatorcmake -S . -B build
cmake --build buildOr even faster in Visual Studio Code: open the project and hit F5.
Once launched, a window pops up with a random traffic network running until you close it.
This code is well commented for Doxygen. You can generate a complete documentation set using Doxygen.
More explanations and details are available in the project Wiki
Ideas, bug reports, or pull requests — all are welcome. Let’s build something awesome together!
Now it's your turn to generate traffic jams.
Thank you for using Traffic Simulator 🙂
Just simulate !
This project is licensed under the MIT License - see the LICENSE.txt file for details.
