Optimal distribution of vehicular traffic flow with Dijkstra’s algorithm and Markov chains | Synapse