Abstract
It is well known that computing shortest paths over a network is an important task in many network and transportation related analyses. Choosing an adequate algorithm from the numerous algorithms reported in the literature is a critical step in many applications involving real road networks. In a recent study, a set of two shortest path algorithms that run fastest on real road networks has been identified. These two algorithms are: 1) the A* algorithm, 2) the Dijkstra’s algorithm. As a sequel to that study, this paper reviews and summarizes these two algorithms, and demonstrates the data structures and procedures related to the algorithms.
Keywords - A* algorithm, Dijkstra’s Algorithm, Heuristic Function, Geographic
Information System, Transportation.
Introduction
With the development of geographic information systems (GIS) technology, network and transportation analyses within a GIS environment have become a common practice in many application areas. A key problem in network and transportation analyses is the computation of shortest paths between different locations on a network. Sometimes this computation has to be done in real time. For the sake of
-1-
illustration, let us have a look at a situation in which a place has been hit with natural disaster. Now many persons may got stuck at different places but they have to be rescued anyhow. So, the main problem that rescue team face is that how they(rescuer) approach them i.e. which path they should opt from numerous available paths. Hence, the fastest route can only be determined in real time. In some cases the fastest route has to be determined in a few seconds in order to ensure the safety of a stuck people. Moreover, when large real road networks are involved in an application, the determination of shortest paths on a large network can be computationally very intensive. Because many applications involve real road networks and because
References: of Mathematics and Statistics ,The University of Melbourne, 2006 [2] E. W. Dijkstra. A note on two problems in connexion with graph[J], Numerische Mathematic, 1959 Engineering, Petra Christian University, 2005 [4] Liang Dai, Fast Shortest Path Algorithm for Road Network and Implementation, Carleton University School of Computer Science, 2012 [5] Xiang Liu, Daoxiong Gong, A comparative study of Astar algorithms for search and rescue in perfect maze, International Conference on Electric Information and Control Engineering, 2011 route of hazardous material transportation network based on A-star algorithm, International Joint Conference on INC, IMS and IDC, 2012