Analysis of Dijkstra’s and A* algorithm to find the shortest path

There are so many algorithms used to find the shortest path such as Dijkstra, A* algorithm, Genetic algorithm, Floyd algorithm and Ant algorithm. In this study, two algorithms will be focused on. This study compares the Dijkstra’s, and A* algorithm to estimate search time and distance of algorithms to find the shortest path. It needs the appropriate algorithm to search the shortest path. Therefore, the purpose of this research is to explore which is the best shortest path algorithm by comparing the two types of algorithms. Such that it can be used to solve the problem path, search to analyze their efficiency in an environment based on two dimensional matrix which is best because of lookup time. This study implements the algorithm in visual C++ 2008 and design interface for the algorithms that allow the user to find the shortest path with the search time and the distance by determine the size of map, starting node and the destination node. The experimental result showed the search time of A* algorithm is faster than Dijkstra’s algorithm with average value 466ms and the distance is same of the both of algorithms.

[1]  T. Fröhlich,et al.  Autonomous and robust navigation for simulated humanoid characters in virtual environments , 2002, First International Symposium on Cyber Worlds, 2002. Proceedings..

[2]  Sven Koenig,et al.  Improved fast replanning for robot navigation in unknown terrain , 2002, Proceedings 2002 IEEE International Conference on Robotics and Automation (Cat. No.02CH37292).

[3]  Abolghasem Sadeghi-Niaraki,et al.  Real world representation of a road network for route planning in GIS , 2011, Expert Syst. Appl..

[4]  Nils J. Nilsson,et al.  A Formal Basis for the Heuristic Determination of Minimum Cost Paths , 1968, IEEE Trans. Syst. Sci. Cybern..

[5]  Madhav V. Marathe,et al.  A computational study of routing algorithms for realistic transportation networks , 1999, JEAL.

[6]  Mehmet N. Aydin,et al.  Development of an Indoor Navigation System Using NFC Technology , 2011, 2011 Fourth International Conference on Information and Computing.

[7]  Tamaki Ura,et al.  Development of an Autonomous Underwater Vehicle R1 With a Closed Cycle Diesel Engine , 1994 .

[8]  Oliver J. Woodman,et al.  An introduction to inertial navigation , 2007 .