TRANSPORT. SAFETY AND ECOLOGY. LOGISTICS AND MANAGEMENT
Using algorithms to solve problems in urban transport optimization Case study: Prishtina
Trans Motauto World, Vol. 7 (2022), Issue 2, pg(s) 77-80
The scope of this paper is using Dijkstra algorithm in Python to get the urban transport optimization one step further, by finding the best route, besides analysing the shortest one. Studying urban transport routes has been first analysed by Dijkstra algorithm taking into consideration two parameters, the number of stations and distances between stations. After this, the code of Dijkstra algorithm has been implemented in Python, adding the demand for travelling in each station.