Connecting Cities: A Case Study on the Application of Morphological Shortest Paths
Abstract
:1. Introduction
- Global search approach.
- Local search approach.
- Hybrid or bio-inspired search approach.
2. Fundamentals of Graph Theory and Mathematical Morphology
2.1. Fundamental Definitions
2.2. Search Strategy
Algorithm 1 Morphological search with the constraint of and [37]. |
|
2.3. Implementation Issues
- The use of morphological operators such as dilation and its frequency associated with its weight calculations.
- Computing and building the optimal path trajectory.
- Evaluating the process to select the best forward step from a given objective.
3. Experimental Process and Results Analysis
3.1. Experimental Process in Real Scenarios
- Coding processes in a complex graph. This stage involves coding an urban area comprising interconnected streets and avenues as a connected graph. To do this, the intersections of streets and avenues are identified and represented as nodes of the graph, which are added and form its structure. In this stage, maps of Querétaro are used, specifically of the downtown area.
- Graph weighing process. The process of assigning weights to transitions between adjacent nodes is performed based on the distance in a metric space, which allows for the effective representation of the connections between them. Node detection is achieved by identifying the maximum values of the distance transformation, which correspond to the areas where the intersections between avenues are located. Interconnected streets define the arcs that connect the pairs of nodes detected.
- A comparison with Dijkstra’s approaches. This process compares computational complexity between search methods using another method as a reference.
3.2. Discussion and Results
3.3. A Comparison with Other Well-Accepted Approaches
3.4. Comparison with Dijkstra Algorithm
4. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Wang, M.; Xu, X.; Yue, Q.; Wang, Y. A comprehensive survey and experimental comparison of graph-based approximate nearest neighbor search. arXiv 2021, arXiv:2101.12631. [Google Scholar] [CrossRef]
- Wang, J.; Wu, N.; Zhao, W.X.; Peng, F.; Lin, X. Empowering A* search algorithms with neural networks for personalized route recommendation. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, Anchorage, AK, USA, 4–8 August 2019; pp. 539–547. [Google Scholar]
- Candra, A.; Budiman, M.A.; Hartanto, K. Dijkstra’s and a-star in finding the shortest path: A tutorial. In Proceedings of the 2020 International Conference on Data Science, Artificial Intelligence, and Business Analytics (DATABIA), Medan, Indonesia, 16–17 July 2020; pp. 28–32. [Google Scholar]
- Samolej, S.; Dec, G.; Rzonca, D.; Majka, A.; Rogalski, T. Regular graph-based free route flight planning approach. Aircr. Eng. Aerosp. Technol. 2021, 93, 1488–1501. [Google Scholar] [CrossRef]
- Liu, X.; Zhang, D.; Zhang, T.; Cui, Y.; Chen, L.; Liu, S. Novel best path selection approach based on hybrid improved A* algorithm and reinforcement learning. Appl. Intell. 2021, 51, 9015–9029. [Google Scholar] [CrossRef]
- Fang, Y.; Huang, X.; Qin, L.; Zhang, Y.; Zhang, W.; Cheng, R.; Lin, X. A Survey of Community Search Over Big Graphs; Springer: Berlin/Heidelberg, Germany, 2020; Volume 29, pp. 353–392. [Google Scholar] [CrossRef]
- Fan, D.; Shi, P. Improvement of Dijkstra’s algorithm and its application in route planning. In Proceedings of the 2010 Seventh International Conference on Fuzzy Systems and Knowledge Discovery, Yantai, China, 10–12 August 2010; Volume 4, pp. 1901–1904. [Google Scholar] [CrossRef]
- Sayed, G.I.; Hassanien, A.E.; Azar, A.T. Feature selection via a novel chaotic crow search algorithm. Neural Comput. Appl. 2019, 31, 171–188. [Google Scholar] [CrossRef]
- Liu, H.; Jin, C.; Zhou, A. Popular route planning with travel cost estimation from trajectories. Front. Comp. Sci. 2020, 14, 191–207. [Google Scholar] [CrossRef]
- Ouadfel, S.; Abd Elaziz, M. Enhanced crow search algorithm for feature selection. Expert Syst. Appl. 2020, 159, 113572. [Google Scholar] [CrossRef]
- Lotfi, M.; Osório, G.J.; Javadi, M.S.; Ashraf, A.; Zahran, M.; Samih, G.; Catalão, J.P. A Dijkstra-inspired graph algorithm for fully autonomous tasking in industrial applications. IEEE Trans. Ind. Appl. 2021, 57, 5448–5460. [Google Scholar] [CrossRef]
- Liu, Y.; Qi, N.; Yao, W.; Zhao, J.; Xu, S. Cooperative path planning for aerial recovery of a UAV swarm using genetic algorithm and homotopic approach. Appl. Sci. 2020, 10, 4154. [Google Scholar] [CrossRef]
- Dell’Amico, M.; Montemanni, R.; Novellani, S. Algorithms based on branch and bound for the flying sidekick traveling salesman problem. Omega 2021, 104, 102493. [Google Scholar] [CrossRef]
- Li, X.; Tian, B.; Hou, S.; Li, X.; Li, Y.; Liu, C.; Li, J. Path Planning for Mount Robot Based on Improved Particle Swarm Optimization Algorithm. Electronics 2023, 12, 3289. [Google Scholar] [CrossRef]
- Shi, K.; Wu, Z.; Jiang, B.; Karimi, H.R. Dynamic path planning of mobile robot based on improved simulated annealing algorithm. J. Frankl. Inst. 2023, 360, 4378–4398. [Google Scholar] [CrossRef]
- Brandão, J. Iterated local search algorithm with ejection chains for the open vehicle routing problem with time windows. Comput. Ind. Eng. 2018, 120, 146–159. [Google Scholar] [CrossRef]
- Brandão, J. A memory-based iterated local search algorithm for the multi-depot open vehicle routing problem. Eur. J. Oper. Res. 2020, 284, 559–571. [Google Scholar] [CrossRef]
- Zhao, J.; Mao, M.; Zhao, X.; Zou, J. A hybrid of deep reinforcement learning and local search for the vehicle routing problems. IEEE Trans. Intell. Transp. Syst. 2020, 22, 7208–7218. [Google Scholar] [CrossRef]
- Konstantakopoulos, G.D.; Gayialis, S.P.; Kechagias, E.P. Vehicle routing problem and related algorithms for logistics distribution: A literature review and classification. Oper. Res. 2022, 22, 2033–2062. [Google Scholar] [CrossRef]
- Prajapati, V.K.; Jain, M.; Chouhan, L. Tabu search algorithm (TSA): A comprehensive survey. In Proceedings of the 2020 3rd International Conference on Emerging Technologies in Computer Engineering: Machine Learning and Internet of Things (ICETCE), Jaipur, India, 7–8 February 2020; pp. 1–8. [Google Scholar]
- D’Angelo, G.; Palmieri, F. GGA: A modified genetic algorithm with gradient-based local search for solving constrained optimization problems. Inf. Sci. 2021, 547, 136–162. [Google Scholar] [CrossRef]
- de Oliveira, G.C.R.; de Carvalho, K.B.; Brandão, A.S. A hybrid path-planning strategy for mobile robots with limited sensor capabilities. Sensors 2019, 19, 49. [Google Scholar] [CrossRef] [PubMed]
- Deng, W.; Xu, J.; Zhao, H. An improved ant colony optimization algorithm based on hybrid strategies for scheduling problem. IEEE Access 2019, 7, 20281–20292. [Google Scholar] [CrossRef]
- Sundarraj, S.; Reddy, R.V.K.; Basam, M.B.; Lokesh, G.H.; Flammini, F.; Natarajan, R. Route planning for an autonomous robotic vehicle employing a weight-controlled particle swarm-optimized Dijkstra algorithm. IEEE Access 2023, 11, 92433–92442. [Google Scholar] [CrossRef]
- Wang, L.; Kan, J.; Guo, J.; Wang, C. 3D Path planning for the ground robot with improved ant colony optimization. Sensors 2019, 19, 815. [Google Scholar] [CrossRef]
- Zhang, H.; Zhang, Q.; Ma, L.; Zhang, Z.; Liu, Y. A hybrid ant colony optimization algorithm for a multi-objective vehicle routing problem with flexible time windows. Inf. Sci. 2019, 490, 166–190. [Google Scholar] [CrossRef]
- Shimomura, L.C.; Oyamada, R.S.; Vieira, M.R.; Kaster, D.S. A survey on graph-based methods for similarity searches in metric spaces. Inf. Syst. 2021, 95, 101507. [Google Scholar] [CrossRef]
- Wang, L.; Lu, J. A memetic algorithm with competition for the capacitated green vehicle routing problem. IEEE/CAA J. Autom. Sin. 2019, 6, 516–526. [Google Scholar] [CrossRef]
- Zhang, Z.; He, R.; Yang, K. A bioinspired path planning approach for mobile robots based on improved sparrow search algorithm. Adv. Manuf. 2022, 10, 114–130. [Google Scholar] [CrossRef]
- Gaikwad, S.K.; Karwankar, A.R. Food image 3D reconstruction using image processing. In Proceedings of the 2019 3rd International Conference on Trends in Electronics and Informatics (ICOEI), Tirunelveli, India, 23–25 April 2019. [Google Scholar] [CrossRef]
- Hÿtch, M.; Hawkes, P.W. Morphological Image Operators; Academic Press: Cambridge, MA, USA, 2020. [Google Scholar]
- Aiguier, M.; Bloch, I. Logical dual concepts based on mathematical morphology in stratified institutions: Applications to spatial reasoning. J. Appl. Non-Class. Log. 2019, 29, 392–429. [Google Scholar] [CrossRef]
- Roerdink, J.B. Mathematical morphology with noncommutative symmetry groups. In Mathematical Morphology in Image Processing; CRC Press: Boca Raton, FL, USA, 2018; pp. 205–254. [Google Scholar]
- Preteux, F. On a distance function approach for gray-level mathematical morphology. In Mathematical Morphology in Image Processing; CRC Press: Boca Raton, FL, USA, 2018; pp. 323–349. [Google Scholar]
- Marcondes, D.; Barrera, J. Discrete morphological neural networks. SIAM J. Imaging Sci. 2024, 17, 1650–1689. [Google Scholar] [CrossRef]
- Maragos, P. Tropical geometry, mathematical morphology and weighted lattices. In Mathematical Morphology and Its Applications to Signal and Image Processing; Springer: Berlin/Heidelberg, Germany, 2019; pp. 3–15. [Google Scholar]
- Perez-Ramos, J.L.; Ramirez-Rosales, S.; Canton-Enriquez, D.; Diaz-Jimenez, L.A.; Xicotencatl-Ramirez, G.; Herrera-Navarro, A.M.; Jimenez-Hernandez, H. Algorithm Based on Morphological Operators for Shortness Path Planning. Algorithms 2024, 17, 184. [Google Scholar] [CrossRef]
- Dani, A.A.H.; Supangkat, S.H.; Lubis, F.F.; Nugraha, I.G.B.B.; Kinanda, R.; Rizkia, I. Development of a smart city platform based on digital twin technology for monitoring and supporting decision-making. Sustainability 2023, 15, 14002. [Google Scholar] [CrossRef]
- Salman, M.Y.; Hasar, H. Review on environmental aspects in smart city concept: Water, waste, air pollution and transportation smart applications using IoT techniques. Sustain. Cities Soc. 2023, 94, 104567. [Google Scholar] [CrossRef]
- Luckey, D.; Fritz, H.; Legatiuk, D.; Dragos, K.; Smarsly, K. Artificial intelligence techniques for smart city applications. In Proceedings of the 18th International Conference on Computing in Civil and Building Engineering: ICCCBE 2020, Sao Paolo, Brazil, 18–20 August 2020; Springer: Berlin/Heidelberg, Germany, 2021; pp. 3–15. [Google Scholar]
- Pascale, A.; Guarnaccia, C.; Macedo, E.; Fernandes, P.; Miranda, A.I.; Sargento, S.; Coelho, M.C. Road traffic noise monitoring in a Smart City: Sensor and Model-Based approach. Transp. Res. Part D Transp. Environ. 2023, 125, 103979. [Google Scholar] [CrossRef]
- Yu, W.; Bai, W.; Luan, W.; Qi, L. State-of-the-art review on traffic control strategies for emergency vehicles. IEEE Access 2022, 10, 109729–109742. [Google Scholar] [CrossRef]
- Liu, S.; Li, Y.; Fu, S.; Liu, X.; Liu, T.; Fan, H.; Cao, C. Establishing a Multidisciplinary Framework for an Emergency Food Supply System Using a Modified Delphi Approach. Foods 2022, 11, 1054. [Google Scholar] [CrossRef] [PubMed]
- Sirina, N.; Zubkov, V. Transport services management on transport and logistic methods. Transp. Res. Procedia 2021, 54, 263–273. [Google Scholar] [CrossRef]
- Silva, C.M.; Silva, L.D.; Santos, L.A.; Sarubbi, J.F.; Pitsillides, A. Broadening understanding on managing the communication infrastructure in vehicular networks: Customizing the coverage using the delta network. Future Internet 2018, 11, 1. [Google Scholar] [CrossRef]
- Ivanova, E.; Masarova, J. Importance of road infrastructure in the economic development and competitiveness. Econ. Manag. 2013, 18, 263–274. [Google Scholar] [CrossRef]
- Rong, G.; Cao, Y.; Wang, J.; Wang, Z. Graph searches and their end vertices. Algorithmica 2022, 84, 2642–2666. [Google Scholar] [CrossRef]
- Rowold, M.; Ögretmen, L.; Kerbl, T.; Lohmann, B. Efficient spatiotemporal graph search for local trajectory planning on oval race tracks. Actuators 2022, 11, 319. [Google Scholar] [CrossRef]
- Chen, W.; Zhang, Y.; Xian, Y.; Wen, Y. Hotspot Information Network and Domain Knowledge Graph Aggregation in Heterogeneous Network for Literature Recommendation. Appl. Sci. 2023, 13, 1093. [Google Scholar] [CrossRef]
- Gross, J.L.; Yellen, J.; Anderson, M. Graph Theory and Its Applications; Chapman and Hall/CRC: Boca Raton, FL, USA, 2018. [Google Scholar]
- IMCO. Índice de Competitividad Urbana 2024. 2024. Available online: https://imco.org.mx/indice-de-competitividad-urbana-2024/ (accessed on 14 December 2024).
- Strutz, T. The distance transform and its computation. arXiv 2021, arXiv:2106.03503. [Google Scholar]
- Les, T.; Markiewicz, T.; Dziekiewicz, M.; Lorent, M. Kidney boundary detection algorithm based on extended maxima transformations for computed tomography diagnosis. Appl. Sci. 2020, 10, 7512. [Google Scholar] [CrossRef]
- Parveen, Z.; Alam, M.A.; Shakir, H. Assessment of quality of rice grain using optical and image processing technique. In Proceedings of the 2017 International Conference on Communication, Computing and Digital Systems (C-Code), Islamabad, Pakistan, 8–9 March 2017; pp. 265–270. [Google Scholar]
- Wang, H.; Qi, X.; Lou, S.; Jing, J.; He, H.; Liu, W. An efficient and robust improved A* Algorithm for path planning. Symmetry 2021, 13, 2213. [Google Scholar] [CrossRef]
- Lewis, R. Algorithms for finding shortest paths in networks with vertex transfer penalties. Algorithms 2020, 13, 269. [Google Scholar] [CrossRef]
- Niewola, A.; Podsedkowski, L. L* algorithm—A linear computational complexity graph searching algorithm for path planning. J. Intell. Robot. Syst. 2018, 91, 425–444. [Google Scholar] [CrossRef]
- Ruan, C.; Luo, J.; Wu, Y. Map navigation system based on optimal Dijkstra algorithm. In Proceedings of the 2014 IEEE 3rd International Conference on Cloud Computing and Intelligence Systems, Shenzhen, China, 27–29 November 2014; pp. 559–564. [Google Scholar]
- Zhang, J.; Zhang, F.; Liu, Z.; Li, Y. Efficient Path Planning Method of USV for Intelligent Target Search. J. Geovisualization Spat. Anal. 2019, 3, 13. [Google Scholar] [CrossRef]
- Wang, J.; Shang, X.; Guo, T.; Zhou, J.; Jia, S.; Wang, C. Optimal path planning based on hybrid genetic-cuckoo search algorithm. In Proceedings of the 2019 6th International Conference on Systems and Informatics (ICSAI), Shanghai, China, 2–4 November 2019; pp. 165–169. [Google Scholar]
- Marinakis, Y.; Migdalas, A.; Sifaleras, A. A hybrid particle swarm optimization–variable neighborhood search algorithm for constrained shortest path problems. Eur. J. Oper. Res. 2017, 261, 819–834. [Google Scholar] [CrossRef]
- Dodik, A.; Papas, M.; Öztireli, C.; Müller, T. Path Guiding Using Spatio-Directional Mixture Models. In Computer Graphics Forum; Wiley Online Library: Hoboken, NJ, USA, 2022; Volome 41, pp. 172–189. [Google Scholar]
- Yao, P.; Wang, H.; Ji, H. Gaussian mixture model and receding horizon control for multiple UAV search in complex environment. Nonlinear Dyn. 2017, 88, 903–919. [Google Scholar] [CrossRef]
- Gunawan, R.D.; Napianto, R.; Borman, R.I.; Hanifah, I. Implementation Of Dijkstra’s Algorithm In Determining The Shortest Path (Case Study: Specialist Doctor Search In Bandar Lampung). Int. J. Inf. Syst. Comput. Sci 2019, 3, 98–106. [Google Scholar] [CrossRef]
- Sun, Y.; Fang, M.; Su, Y. AGV path planning based on improved Dijkstra algorithm. J. Physics: Conf. Ser. 2021, 1746, 012052. [Google Scholar] [CrossRef]
- Zhu, D.D.; Sun, J.Q. A new algorithm based on Dijkstra for vehicle path planning considering intersection attribute. IEEE Access 2021, 9, 19761–19775. [Google Scholar] [CrossRef]
- Kirono, S.; Arifianto, M.I.; Putra, R.E.; Musoleh, A.; Setiadi, R. Graph-based modeling and dijkstra algorithm for searching vehicle routes on highways. Int. J. Mech. Eng. Technol. 2018, 9, 1273–1280. [Google Scholar]
- Gbadamosi, O.A.; Aremu, D.R. Design of a Modified Dijkstra’s Algorithm for finding alternate routes for shortest-path problems with huge costs. In Proceedings of the 2020 International Conference in Mathematics, Computer Engineering and Computer Science (ICMCECS), Lagos, Nigeria, 18–21 March 2020; pp. 1–6. [Google Scholar]
- Dijkstra, E.W. A Note on Two Problems in Connexion with Graphs. Numer. Math. 1959, 1, 269–271. [Google Scholar] [CrossRef]
Approach | Workspace | Complexity | Weighted | Remarks |
---|---|---|---|---|
Dijkstra with referenced graph [9] | Graph | Yes | It is an algorithm focused on the use of a priori information on nodes and arcs, where the concepts of popular location and popular traversal are introduced, together with a dynamic cost associated with the potentially optimal route. | |
Improved PSO [14] | Grid | Yes | This approach is applied in collaborative robotics to assign individual trajectories, optimizing the updated weight strategy and improving convergence over traditional PSO methods. The convergence of the method is improved by classifying particles into three categories: elite, high-quality, and low-quality, which optimizes the shortest path calculation process. | |
Improved A* Algorithm [55] | Grid | No | The improved A* algorithm, named EBHSA*, proposes an innovative approach that optimizes three key aspects in route planning: (i) increasing the expansion distance for obstacle detection, (ii) implementing bidirectional search from the two nodes of interest simultaneously, and (iii) optimizing the classical heuristic function used in the base algorithm. | |
Dijkstra enhancement [56] | Graph | Yes | This approach adds penalties for vertex transfers in an expanded graph. It is sometimes slow compared to the first version because it duplicates the graph to remove edges from the adjacency list. | |
L* Algorithm [57] | Graph | Yes | This approach is based on an improvement of Algorithm A*, where the weight is expressed as a floating point number applied in global searches. The proposal proves to be functional and provides good results in terms of computation time, especially when the distance between the nodes of interest is considerably short. | |
Dijkstra enhancement [58] | Graph | Yes | It introduces the use of an adjacent node table, priority queue, and traffic impedance analysis, reducing the number of cycles compared to the traditional Dijkstra approach. | |
Dijkstra enhancement [7] | Graph and Grid | No | This proposal improves Dijkstra’s algorithm by redefining the data structure for better storage and providing a means to search for nodes ordered by priority. It also limits the search area by restricting the area where a better solution to the optimal route problem can be found. | |
Dijkstra enhancement [11] | Graph | Yes | This work implements Dijkstra’s algorithm using graph theory, optimizing the scheduling of industrial tasks by assigning extra weights to tasks with priority and solving by combinations. | |
Morphological search [37] | Graph and Grid | Yes | This paper describes a comprehensive framework using mathematical MM and introduces two novel operators based on dilation and erosion that establish a natural connection to determine the most reliable path. |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Perez-Ramos, J.L.; Ramirez-Rosales, S.; Canton-Enriquez, D.; Diaz Jimenez, L.A.; Hernandez-Ramirez, H.; Herrera-Navarro, A.M.; Jimenez-Hernandez, H. Connecting Cities: A Case Study on the Application of Morphological Shortest Paths. Symmetry 2025, 17, 114. https://doi.org/10.3390/sym17010114
Perez-Ramos JL, Ramirez-Rosales S, Canton-Enriquez D, Diaz Jimenez LA, Hernandez-Ramirez H, Herrera-Navarro AM, Jimenez-Hernandez H. Connecting Cities: A Case Study on the Application of Morphological Shortest Paths. Symmetry. 2025; 17(1):114. https://doi.org/10.3390/sym17010114
Chicago/Turabian StylePerez-Ramos, Jorge L., Selene Ramirez-Rosales, Daniel Canton-Enriquez, Luis A. Diaz Jimenez, Herlindo Hernandez-Ramirez, Ana M. Herrera-Navarro, and Hugo Jimenez-Hernandez. 2025. "Connecting Cities: A Case Study on the Application of Morphological Shortest Paths" Symmetry 17, no. 1: 114. https://doi.org/10.3390/sym17010114
APA StylePerez-Ramos, J. L., Ramirez-Rosales, S., Canton-Enriquez, D., Diaz Jimenez, L. A., Hernandez-Ramirez, H., Herrera-Navarro, A. M., & Jimenez-Hernandez, H. (2025). Connecting Cities: A Case Study on the Application of Morphological Shortest Paths. Symmetry, 17(1), 114. https://doi.org/10.3390/sym17010114