Abstract
Dijkstra’s algorithm (DA) is classified as a basic strategy for searching minimal routes from one point to another and found useful in several applications, such as in network routing protocols, setting of irrigation lines, and road transportation networks. This algorithm minimizes the time and distance covered in a mission-critical venture such as a road and fire accident rescue mission. However, the shortest-path-finding technique, as proposed by Dijkstra, may take the longest due to several constraints, such as queues formed from roadworks, bandits, kidnapping, or accidents, thereby making the shortest path inaccessible. This study aimed to develop a Modified Dijkstra Algorithm (MDA) for finding alternative routes moving from location A to another location B when the shortest route is inaccessible. The objectives of the study were to design a variant of Conventional Dijkstra's Algorithm (CDA); implement and evaluate its performance. The study used a 40-node graph with varying weights and arbitrary source nodes with designated destination nodes. Both CDA and MDA were implemented in a Python environment. The probabilities of the existence of alternative routes to the shortest path were derived using a random number generator. The comparative evaluation of both algorithms was carried out and the results were depicted using tables, graphs, histograms, and ogives. The average distance covered, number of routes, and probability cost was used as lead indicator for evaluation performance. The findings deduced that the MDA model provided alternative routes better than the CDA, especially when the minimal route is impassable, and proffered a better means of navigation whenever the shortest path is under constraints for safety and accessibility. This study recommends Modified Dijkstra’s Algorithm model to be used in Courier and logistic services, transportation systems, and as well as in engineering companies.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Hart E, Nilson NJ, Raphael B (1968) A formal basis for the heuristic determination of minimum cost paths. IEEE Transp Syst Sci Cybernet 4(2):100–107
Charika J, Jitendra K (2013) Processing delay consideration in Dijkstra’s algorithm. Int J Adv Res Comp Sci Softw Eng Res 3(8):112–162
Bharath Uppalancha K (2015) Optimizing the Robot’s path using Dijkstra’s algorithm. Int J Innov Res Sci Eng Technol 4(6):451–459
Tirastittan P, Waiyawuththanapoom P (2014) Public transport planning system by Dijkstra’s algorithm: case study Bangkok metropolitan area. Int J Soc Behav Educ Econ Business Indust Eng 8(1):363–370
Gupta N, Mangla K, Jha AK, Umar M (2016) Applying Dijkstra’s algorithm in routing process. Int J New Technol Res 2(5):122–124. ISSN:2454-4116
Jain A, Datta U, Joshi N (2010) Implemented modification in Dijkstra’s algorithm to find the shortest path for N nodes with constraints. Int J Sci Eng Appl Sci 2(2):420–426
Jain V, Prasad JS (2017) Solving travelling salesman problem using greedy genetic algorithm GGA. Int J Eng Technol 9(2):1148–1154
Alam A, Faraq O (2019) Finding the shortest path for road network using Dijkstra’s algorithm. Bangladesh J Multidiscipl Sci Res 2(2):201–208, 366
Jain A, Datta U, Joshi N (2016) Implemented modification in Dijkstra’s algorithm to find the shortest path for ‘N’ nodes with constraint. Int J Sci Eng Appl Sci 2(2):101–112. ISSN: 2395-3470
Ratnasari A, Ardiani F, Nurvita F (2013) Penentuan Jarak Terpendek dan Jarak Terpendek Alternatif menggunakan Algoritma Dijkstra serta Estimasi Waktu Tempuh. Universitas Islam Indonesia, Yogyakarta. ISBN: 979-26-0266-6
Syahputra MFA, Devita RN, Siregar SA, Kirana KC (2016) Implementation of traveling salesman problem (TSP) based on Dijkstra’s algorithm in logistics system. Int J Electr Electron Eng 14(1):39–44
Ginting HN, Osmond AB, Aditsania A (2019) Item delivery simulation using Dijkstra algorithm for solving the traveling salesman problem. In: International conference on electronics representation and algorithm (ICERA 2019), J Phys Conf Ser 1201 012068, pp 1–9
Cao L, Zhao X, Zheng H, Zhao BY (2000) Atlas approximating shortest paths in social graphs. Computer Science Department, U. C. Santa Barbara
Curtin KM (2007) Network analysis in geographic information science, review, assessment, and projections, vol 34, no 2, pp 103–111
Joanna K, Pasieka M (2017) Cockroach swarm optimization algorithm for travel planning, enthropy, pp 213
Ravi Shankar N, Sireesha V (2017) Using modified Dijkstra’s algorithm for critical path method in a project network. Department of Applied Mathematics, GIS, GITAMUniversity, Visakhapatnam, India
Fontaine P, Taube F, Minner S (2020) Human solution strategies for the vehicle routing problem, experimental findings, and a choice-based theory. Comp Oper Res 120:1–16
Muhammed RW, Subhan HN, Dinur S (2021) Greedy. A-Star, and Dijkstra’s algorithms in finding the shortest path problem. Int J Adv Data Inform Syst 2(1)
Samah KAFA, Sharip AA, Musirin I, Sabri N, Salleh MH (2020) Reliability study on the adaptation of Dijkstra’s algorithm for gateway KLIA2 indoor navigation. Bull Electr Eng Inform 9(2):594–601. ISSN: 2302-9285
Orlin JB, Madduri K, Subramani K, Williamson M (2010) A faster algorithm for the single source shortest path problem with few distinct positive lengths. J Discr Algor 8:189–198
Gallo G, Pallottino S (1986) Shortest path methods, a unifying approach. Mathe Program Stud 26:38–64
Moore EF (1957) The shortest path through a maze. In: Proceedings of international symposium on switching theory, part II, Cambridge, Massachusetts, Harvard University Press, pp 285–292. MR 0114710
Glover F, Klingman D, Philips N (1985) A new polynomials bounded shortest paths algorithm. Oper Res 33:65–73
Gallo G, Pallottino S (1988) Shortest path algorithms. Ann Oper Res 13:3–79
Zhan FB, Noon CE (1998) Shortest path algorithms. An evaluation using real road networks. Transport Sci 32(1):65–73
Zhan FB (1997) Three fastest shortest path algorithms on real road networks. J Geogr Inform Decis Anal 1(1):70–82
Gutenschwager K, Volker S, Radtke A, Ulm H, Zeller G (2012) The shortest path: comparison of different approaches and implementations for the automatic routing of vehicles. In: Proceedings of the 2012 winter simulation conference, IEEE, Munich, Germany, pp 3312–3323
Dijkstra EW (1959) A note on two problems in connexion with graphs. Numer Math 1:269–271
Ahuja RK, Orlin JB (1993) Graph and network optimization. J Optim Oper Res UNESCO-EOLSS 11:265–270
Geisberger R, Shieferdecker D (2013) Advanced route planning in transportation networks. In: Proceedings of the 12th workshop on algorithm engineering and experiments (ALENEX’13), Universitat des Landes Baden Wurttemberg, Germa
Erickson J (2014) Algorithms, lecture 21, shortest paths, p 4. http://www.cs.uiuc.edu/~~jeffe/teacing/algorithms
Cormen TH, Leiserson CE, Rivest RL, Clifford C (1993) Introduction to algorithms. MIT Press and McGraw-Hill
Sedgewick R, Wayne K (201) Algorithm pearson education
Aho AV, Hopcroft JE, Ullman JD (1987) Data structures and algorithms. Addison-Wesley, Reading, MA, U.S.A
Gbadamosi OA, Aremu DR (2020) Design of a modified Dijkstra’s algorithm for finding alternate routes for shortest path problems with huge costs. In: International conference in mathematics, computer engineering, and computer science (ICMCECS), IEEE, pp 1–6
Xia C, Zhang Y, Liu Y, Lin K, Chen J (2018) Path planning and energy flow control of wireless power sensor networks. Turkish J Electr Eng Comp Sci 26(5):2618–2612
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Gbadamosi, O.A., Aremu, D.R. (2024). Modification of Dijkstra’s Algorithm for Best Alternative Routes. In: Yang, XS., Sherratt, R.S., Dey, N., Joshi, A. (eds) Proceedings of Eighth International Congress on Information and Communication Technology. ICICT 2023. Lecture Notes in Networks and Systems, vol 695. Springer, Singapore. https://doi.org/10.1007/978-981-99-3043-2_20
Download citation
DOI: https://doi.org/10.1007/978-981-99-3043-2_20
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-99-3042-5
Online ISBN: 978-981-99-3043-2
eBook Packages: EngineeringEngineering (R0)