An Efficient Maritime Route Planning Method Based on an Improved A* with an Adaptive Heuristic Function and Parallel Computing Structure
Abstract
:1. Introduction
1.1. Background
1.2. Literature Review
1.3. Motivation, Technical Characterization and Contribution
2. Models
2.1. The Gridded Path Constraint Model Based on the International Maritime Organization (IMO)
2.2. Adaptive Heuristic Function and Segment Parallel A*(SPA*)
- (a).
- Collect the ranks and coordinates of all navigable grids and non-navigable grids (islands or land) to form a matrix.
- (b).
- Calculate the Euclidean distance of each navigable grid to all non-navigable grids in turn. If there are m navigable grids and n non-navigable grids, then there are mn distance values. If the row is the navigable grid number and the row is the non-navigable grid number, then a -dimensional matrix can be formed.
- (c).
- Find the minimum value in each row and then delete the rest of the values in each row, leaving a -dimensional vector. This vector retains the distance values of the nearest non-navigable grid for each navigable grid.
- (d).
- Normalize the -dimensional vector in (c) by the maximum and minimum values. The values in the vector are then inverted. The inverse processing is performed using the circular arc function (Equation (11)). It simultaneously slows down its increase to 1 and makes the terrain risk data more reasonable.
Algorithm 1 SPA* | |
Input: F1; F2; ; m | |
// and are 3D arrays, with the first two dimensions being longitude and latitude, and the third dimension being time. and represents the risk data at time period . m is the number of segments. | |
Output: | |
1 | Sround(linspace(, m)) |
2 | // “round()” represents rounding all elements to the nearest whole number. |
3 | // “linspace(a, b)” represents dividing vector a into b segments. |
4 | // S is the array. Each row stores the start and end indexes of each segment of . |
5 | parfor i1 to m do |
6 | |
7 | // “” represents using A * with an adaptive heuristic function for path planning, starting from s and ending at e, where the risk data used are F1 and F2. |
9 | end |
10 | [, , , ] |
11 | return |
3. Experiments
3.1. Static Route Planning Experiments by SPA*
3.2. Parametric Experiments for the Number of Segments m
3.3. Dynamic Route Planning Experiments by SPA*
4. Conclusions
- (1)
- The performance and computational efficiency of SPA* is excellent. In static experiments, the comparison subjects are traditional path planning algorithms (Dijkstra, A*, and BA*) and SI-based path planning algorithms (ACO, HHO, and SSA). The time of SPA* is reduced by about 5~12,425 times compared with each algorithm, and the R-VIMO of it is always kept at 0. Meanwhile, in the control of f1 and f2, the performance of SPA* is improved by 7.68%~25.14% and 8.44%~14.38% compared with each algorithm. In dynamic experiments, SPA* is compared with traditional path planning algorithms (Dijkstra, A*, and BA*) and SI-based path planning algorithms (SSA). The time of SPA* is reduced by about 4.8~1262.9 times compared to each algorithm, and the R-VIMO of it is always kept at 0. In the control of f1 and f2, the performance of SPA* is improved by 3.87%~9.47% and 7.21%~10.36%, respectively, compared with each algorithm.
- (2)
- SPA* has the advantage of fewer parameters and strong robustness. In the experiments for the only parameter “the number of segment m”, it is adjusted substantially, but the time of SPA* is changed to a small range. For 100 × 100, 200 × 200, and 400 × 400, the change in running time is about 0.01 s, 0.04 s, and 1.8 s, respectively. For the control of risk indicators f1 and f2, we analytically give some reasonable intervals of m for SPA* at different map sizes. For 100 × 100, the lower m the better, but not less than 6; for 200 × 200, m should be 10~20; for 400 × 400, m should be 15~30. After limiting the range of m, SPA* shows great control at f1 and f2.
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Gourvenec, S.; Sturt, F.; Reid, E.; Trigos, F. Global assessment of historical, current and forecast ocean energy infrastructure: Implications for marine space planning, sustainable design and end-of-engineered-life management. Renew. Sust. Energ. Rev. 2022, 154, 111794. [Google Scholar] [CrossRef]
- Kuroda, M.; Sugimoto, Y. Evaluation of ship performance in terms of shipping route and weather condition. Ocean Eng. 2022, 254, 111335. [Google Scholar] [CrossRef]
- Li, M.; Luo, H.; Zhou, S.; Kumar, G.M.S.; Guo, X.; Law, T.C.; Cao, S. State-of-the-art review of the flexibility and feasibility of emerging offshore and coastal ocean energy technologies in East and Southeast Asia. Renew. Sust. Energ. Rev. 2022, 162, 112404. [Google Scholar] [CrossRef]
- Shiiba, N.; Wu, H.H.; Huang, M.C.; Tanaka, H. How blue financing can sustain ocean conservation and development: A proposed conceptual framework for blue financing mechanism. Mar. Policy 2022, 139, 104575. [Google Scholar] [CrossRef]
- Zhu, H.; Wang, Y.; Li, X. UCAV path planning for avoiding obstacles using cooperative co-evolution Spider Monkey Optimization. Knowl.-Based Syst. 2022, 246, 108713. [Google Scholar] [CrossRef]
- Zhang, X.; Xia, S.; Li, X.; Zhang, T. Multi-objective particle swarm optimization with multi-mode collaboration based on reinforcement learning for path planning of unmanned air vehicles. Knowl.-Based Syst. 2022, 250, 109075. [Google Scholar] [CrossRef]
- Li, H.; Zhao, T.; Dian, S. Forward search optimization and subgoal-based hybrid path planning to shorten and smooth global path for mobile robots. Knowl.-Based Syst. 2022, 258, 110034. [Google Scholar] [CrossRef]
- Cummings, M.L.; Buchin, M.; Carrigan, G.; Donmez, B. Supporting intelligent and trustworthy maritime path planning decisions. Int. J. Hum.-Comput. Stud. 2010, 68, 616–626. [Google Scholar] [CrossRef]
- Li, M.; Xie, C.; Li, X.; Karoonsoontawong, A.; Ge, Y.-E. Robust liner ship routing and scheduling schemes under uncertain weather and ocean conditions. Transp. Res. Part C Emerg. Technol. 2022, 137, 103593. [Google Scholar] [CrossRef]
- Sung, I.; Zografakis, H.; Nielsen, P. Multi-lateral ocean voyage optimization for cargo vessels as a decarbonization method. Transp. Res. Part D Transp. Environ. 2022, 110, 103407. [Google Scholar] [CrossRef]
- Xi, M.; Yang, J.; Wen, J.; Liu, H.; Li, Y.; Song, H.H. Comprehensive ocean information-enabled AUV path planning via reinforcement learning. IEEE Internet Things 2022, 9, 17440–17451. [Google Scholar] [CrossRef]
- Zhao, W.; Wang, H.; Geng, J.; Hu, W.; Zhang, Z.; Zhang, G. Multi-objective weather routing algorithm for ships based on hybrid particle swarm optimization. J. Ocean. Univ. China 2022, 21, 28–38. [Google Scholar] [CrossRef]
- Singh, Y.; Sharma, S.; Sutton, R.; Hatton, D.; Khan, A. A constrained A* approach towards optimal path planning for an unmanned surface vehicle in a maritime environment containing dynamic obstacles and ocean currents. Ocean Eng. 2018, 169, 187–201. [Google Scholar] [CrossRef]
- Fabbri, T.; Vicen-Bueno, R. Weather-routing system based on METOC navigation risk assessment. J. Mar. Sci. Eng. 2019, 7, 127. [Google Scholar] [CrossRef]
- Grifoll, M.; Borén, C.; Castells-Sanabra, M. A comprehensive ship weather routing system using CMEMS products and A* algorithm. Ocean Eng. 2022, 255, 111427. [Google Scholar] [CrossRef]
- Shin, Y.W.; Abebe, M.; Noh, Y.; Lee, S.; Lee, I.; Kim, D.; Bae, J.; Kim, K.C. Near-optimal weather routing by using improved A* algorithm. Appl. Sci. 2020, 10, 6010. [Google Scholar] [CrossRef]
- Yang, Z.; Yu, X.; Dedman, S.; Rosso, M.; Zhu, J.; Yang, J.; Xia, Y.; Tian, Y.; Zhang, G.; Wang, J. UAV remote sensing applications in marine monitoring: Knowledge visualization and review. Sci. Total Environ. 2022, 838, 155939. [Google Scholar] [CrossRef]
- Yuan, S.; Li, Y.; Bao, F.; Xu, H.; Yang, Y.; Yan, Q.; Zhong, S.; Yin, H.; Xu, J.; Huang, Z. Marine environmental monitoring with unmanned vehicle platforms: Present applications and future prospects. Sci. Total Environ. 2023, 858, 159741. [Google Scholar] [CrossRef]
- Zhang, S.; Mei, Y.; Xia, T.; Cao, Z.; Liu, Z.; Li, Z. Simultaneous measurement of temperature and pressure based on Fabry-Perot Interferometry for marine monitoring. Sensors 2022, 22, 4979. [Google Scholar] [CrossRef]
- Lee, T.; Kim, H.; Chung, H.; Bang, Y.; Myung, H. Energy efficient path planning for a marine surface vehicle considering heading angle. Ocean Eng. 2015, 107, 118–131. [Google Scholar] [CrossRef]
- Ma, W.; Han, Y.; Tang, H.; Ma, D.; Zheng, H.; Zhang, Y. Ship route planning based on intelligent mapping swarm optimization. Comput. Ind. Eng. 2023, 176, 108920. [Google Scholar] [CrossRef]
- Chen, Y.-Q.; Guo, J.-L.; Yang, H.; Wang, Z.-Q.; Liu, H.-L. Research on navigation of bidirectional A* algorithm based on ant colony algorithm. J. Supercomput. 2021, 77, 1958–1975. [Google Scholar] [CrossRef]
- Liu, L.; Wang, B.; Xu, H. Research on Path-Planning Algorithm Integrating Optimization A-Star Algorithm and Artificial Potential Field Method. Electronics 2022, 11, 3660. [Google Scholar] [CrossRef]
- Khedr, A.M.; Al Aghbari, Z.; Khalifa, B.E. Fuzzy-based multi-layered clustering and ACO-based multiple mobile sinks path planning for optimal coverage in WSNs. IEEE Sens. J. 2022, 22, 7277–7287. [Google Scholar] [CrossRef]
- Saeed, R.A.; Omri, M.; Abdel-Khalek, S.; Ali, E.S.; Alotaibi, M.F. Optimal path planning for drones based on swarm intelligence algorithm. Neural Comput. Appl. 2022, 34, 10133–10155. [Google Scholar] [CrossRef]
- Alweshah, M.; Almiani, M.; Almansour, N.; Al Khalaileh, S.; Aldabbas, H.; Alomoush, W.; Alshareef, A. Vehicle routing problems based on Harris Hawks optimization. J. Big Data 2022, 9, 42. [Google Scholar] [CrossRef]
- Zhang, R.; Li, S.; Ding, Y.; Qin, X.; Xia, Q. UAV Path Planning Algorithm Based on Improved Harris Hawks Optimization. Sensors 2022, 22, 5232. [Google Scholar] [CrossRef]
- Gharehchopogh, F.S.; Namazi, M.; Ebrahimi, L.; Abdollahzadeh, B. Advances in sparrow search algorithm: A comprehensive survey. Arch. Comput. Methods Eng. 2023, 30, 427–455. [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]
- Liu, Q.; Zhang, Y.; Li, M.; Zhang, Z.; Cao, N.; Shang, J. Multi-UAV path planning based on fusion of sparrow search algorithm and improved bioinspired neural network. IEEE Access 2021, 9, 124670–124681. [Google Scholar] [CrossRef]
- Low, E.S.; Ong, P.; Low, C.Y.; Omar, R. Modified Q-learning with distance metric and virtual target on path planning of mobile robot. Expert Syst. Appl. 2022, 199, 117191. [Google Scholar] [CrossRef]
- Bonny, T.; Kashkash, M. Highly optimized Q-learning-based bees approach for mobile robot path planning in static and dynamic environments. J. Field. Robot. 2022, 39, 317–334. [Google Scholar] [CrossRef]
- Oh, E.; Lee, H. Effective route generation framework using quantum mechanism-based multi-directional and parallel ant colony optimization. Comput. Ind. Eng. 2022, 169, 108308. [Google Scholar] [CrossRef]
- Tsai, C.-C.; Huang, H.-C.; Chan, C.-K. Parallel elite genetic algorithm and its application to global path planning for autonomous robot navigation. IEEE Trans. Ind. Electron. 2011, 58, 4813–4821. [Google Scholar] [CrossRef]
- Han, B.; Ming, Z.; Zhao, Y.; Wen, T.; Xie, M. Comprehensive risk assessment of transmission lines affected by multi-meteorological disasters based on fuzzy analytic hierarchy process. Int. J. Electr. Power Energy Syst. 2021, 133, 107190. [Google Scholar] [CrossRef]
- Park, Y.; Lee, S.-W.; Lee, J. Comparison of fuzzy AHP and AHP in multicriteria inventory classification while planning green infrastructure for resilient stream ecosystems. Sustainability 2020, 12, 9035. [Google Scholar] [CrossRef]
- Chen, X.; Liu, S.; Liu, R.W.; Wu, H.; Han, B.; Zhao, J. Quantifying Arctic oil spilling event risk by integrating an analytic network process and a fuzzy comprehensive evaluation model. Ocean Coast. Manag. 2022, 228, 106326. [Google Scholar] [CrossRef]
- WU GX, W.L.; ZHENG, J. Dynamic route planning method for intelligent ships considering complex meteorological changes. J. Shanghai Marit. Univ. 2021, 42, 1–6. [Google Scholar]
Number | Condition | Result |
---|---|---|
1 | A* degenerates to Dijkstra. The algorithm will expand the grids without difference until it expands to the end grid. | |
2 | A* is guaranteed to find the shortest circuit. And the smaller is the more grids the algorithm will expand. This causes the algorithm to slow down. | |
3 | A* is not guaranteed to find the shortest path, but the algorithm will be faster at this point. | |
4 | A* is converted to breath first search (BFS). At this point the algorithm is very fast and will expand the grids as little as possible. |
Indicator | Our Algorithm | Traditional Path Planning | SI-Based Path Planning | Map Size | ||||
---|---|---|---|---|---|---|---|---|
SPA* | Dijkstra | A* | BA* | ACO | HHO | SSA | ||
Time(s) | 0.0312 | 0.8908 | 0.5708 | 0.4670 | 202.4345 | 328.2276 | 2.5359 | 100 × 100 |
f1 | 0.1051 | 0.1404 | 0.1395 | 0.1404 | 0.1254 | 0.1019 | 0.1238 | |
f2 | 0.2833 | 0.3230 | 0.3228 | 0.3224 | 0.2896 | 0.2812 | 0.2558 | |
R-VIMO | 0 | 0 | 0 | 0 | 16.94% | 14.72% | 0 | |
Time(s) | 0.0805 | 6.9234 | 1.5625 | 0.7388 | 1000.2133 | 923.3016 | 6.3452 | 200 × 200 |
f1 | 0.1154 | 0.1287 | 0.1250 | 0.1315 | 0.1307 | 0.1343 | 0.1170 | |
f2 | 0.2763 | 0.3079 | 0.3046 | 0.3227 | 0.2525 | 0.3144 | 0.3017 | |
R-VIMO | 0 | 0 | 0 | 0 | 18.47% | 22.38% | 27.47% | |
Time(s) | 1.2354 | 159.3826 | 7.0562 | 22.4825 | 1723.6522 | 1523.3016 | 13.0777 | 400 × 400 |
f1 | 0.1145 | 0.1285 | 0.1309 | 0.1288 | 0.1333 | 0.1355 | 0.1172 | |
f2 | 0.2754 | 0.3008 | 0.3024 | 0.3090 | 0.2575 | 0.2495 | 0.2824 | |
R-VIMO | 0 | 0 | 0 | 0 | 16.29% | 15.07% | 17.37% |
Indicator | Our Algorithm | Traditional Path Planning | SI-Based Path Planning | Forecast Data Scale | ||
---|---|---|---|---|---|---|
SPA* | Dijkstra | A* | BA* | SSA | ||
Time(s) | 9.3600 | 904.8657 | 269.0035 | 84.8583 | 45.3768 | Daily (Total 7 days) |
f1 | 0.1166 | 0.1228 | 0.1238 | 0.1213 | 0.1082 | |
f2 | 0.2137 | 0.2384 | 0.2374 | 0.2432 | 0.2420 | |
R-VIMO | 0 | 0 | 0 | 16.78% | 31.60% | |
Time(s) | 2.4335 | 3073.3542 | 937.1178 | 327.9520 | 321.9712 | Every 6 h (total 28 periods) |
f1 | 0.1137 | 0.1256 | 0.1254 | 0.1235 | 0.1084 | |
f2 | 0.2265 | 0.2441 | 0.2449 | 0.2534 | 0.2462 | |
R-VIMO | 0 | 0 | 0 | 22.87% | 30.03% |
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. |
© 2023 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
Li, H.; Qian, L.; Hong, M.; Wang, X.; Guo, Z. An Efficient Maritime Route Planning Method Based on an Improved A* with an Adaptive Heuristic Function and Parallel Computing Structure. Appl. Sci. 2023, 13, 10873. https://doi.org/10.3390/app131910873
Li H, Qian L, Hong M, Wang X, Guo Z. An Efficient Maritime Route Planning Method Based on an Improved A* with an Adaptive Heuristic Function and Parallel Computing Structure. Applied Sciences. 2023; 13(19):10873. https://doi.org/10.3390/app131910873
Chicago/Turabian StyleLi, Hanlin, Longxia Qian, Mei Hong, Xianyue Wang, and Zilong Guo. 2023. "An Efficient Maritime Route Planning Method Based on an Improved A* with an Adaptive Heuristic Function and Parallel Computing Structure" Applied Sciences 13, no. 19: 10873. https://doi.org/10.3390/app131910873
APA StyleLi, H., Qian, L., Hong, M., Wang, X., & Guo, Z. (2023). An Efficient Maritime Route Planning Method Based on an Improved A* with an Adaptive Heuristic Function and Parallel Computing Structure. Applied Sciences, 13(19), 10873. https://doi.org/10.3390/app131910873