by reallymental · 5y ago · 0 comments
I'm beginning to delve into this space and I've not managed to get any satisfactory answers to these questions, despite my month(s) long search.
1) How does one build a traffic (i.e state-space system), forgetting the visualization aspect of things ? Just generating sparse matrices, and adding elements to interact (add/subtract) from these matrices would be a great start! Any way to do this in a compiled language ?
2) Are there any libraries out there that help you simulate traffic in an existing network of roads, extracted from OpenStreetMaps perhaps?
2) Another option with much less detailed traffic simulation, but much more UI focus, is abstreet.org
IIRC you could import maps from from open street map, but I'm not sure if it has a "headless" mode, without all the visualisation.