Journal of King Saud University: Computer and Information Sciences | |
Dynamizing Dijkstra: A solution to dynamic shortest path problem through retroactive priority queue | |
Deepak Garg1  Sunita2  | |
[1] Corresponding author.;Computer Science and Engineering, Thapar University, Patiala 147004, India; | |
关键词: Data structure; Algorithms; Dynamic shortest path; Retroactive data structure; | |
DOI : | |
来源: DOAJ |
【 摘 要 】
Dynamic shortest path algorithms are the ones which are used to accommodate the online sequence of update operations to the underlying graph topology and also facilitate the subsequent query operations. Many solutions exist for the different versions of the problem, all of which identify the set of vertices whose shortest paths may be affected by the changes and then update their shortest paths according to the update sequence. In this paper, we are dynamizing the Dijkstra algorithm which helps to efficiently solve the dynamic single source shortest path problem. Dynamization is achieved by using the retroactive priority queue data structure. Retroactive data structure identify the set of affected vertices step by step and thus help to accommodate the changes in least number of computations. So, with a suitable dynamic graph representation and the use of retroactive priority queue, we have proposed algorithm to dynamize Dijkstra algorithm giving solution of dynamic single source shortest path problem with complexity O(nlg m) for the update time. We have performed experimental analysis by comparing the performance of the proposed algorithm with other algorithms. Our experimental results indicate that the proposed algorithm has better performance in terms of time and memory usage.
【 授权许可】
Unknown