K Shortest Path Implementation
Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesis
The problem of computing K shortest loopless paths, or ranking of the K shortest loopless paths between a pair of given vertices in a network is a well-studied generalization of shortest path problem. The K shortest paths problem determines not only one shortest path but the K best shortest paths from s to t in an increasing order of weight of the paths.
Yen’s algorithm is known to be the efficient and widely used algorithm for determining K shortest loopless paths. Here, we introduce a new algorithm by modifying the Yen’s algorithm in the following way: instead of removing the vertices and the edges from the graph, we store them in two different sets. Then we modified the Dijkstra’s algorithm by taking these two sets into consideration. Thus the algorithm applies glass box methodology by using the modified Dijkstra’s algorithm for our dedicated purpose. Thus the efficiency is improved. The computational results conducted over different datasets, shows the proposed algorithm has better performance results.
Place, publisher, year, edition, pages
2013. , 43 p.
K Shortest Path, Yen's, Shortest Path Algorithm, Deviation paths, K shortest loopless paths
IdentifiersURN: urn:nbn:se:liu:diva-95451ISRN: LIU-IDA/LITH-EX-A--13/041--SEOAI: oai:DiVA.org:liu-95451DiVA: diva2:635314
Subject / course
Master's programme in Computer Science
2013-06-27, Muhammad al-Khwarizmi, Linkoping University, Linkoping, 13:00 (English)