An Improved Jump Point Search Pathfinding Algorithm for Hexagonal Grid Maps
Abstract
Pathfinding in hexagonal grid maps is a common problem in some specific areas, especially in video games (like the highly acclaimed Civilization series). The main challenge of these problems lies in how to handle the paths that seemingly different, but in fact equivalent. Jump Point Search (JPS) is regarded as the best algorithm in the current research based on square grid maps. It effectively solved this problem. The efficiency of JPS far exceeds other similar algorithms, including the widely used A-Star algorithm. This paper presents an adaptation of the JPS algorithm for hexagonal grid maps and presents a comparative analysis of its efficiency against the widely-used A-Star algorithm. The result proved that the adjusted JPS algorithm has significantly improved the efficiency of solving pathfinding problem compared to the A-Star algorithm when dealing with medium to long paths and complex paths.
References
- Harabor, D., & Grastien, A. (2011). Online Graph Pruning for Pathfinding On Grid Maps. Proceedings of the AAAI Conference on Artificial Intelligence, 25(1), 1114-1119.
- Harabor, D.; and Grastien, A. (2012). The JPS pathfinding system. In International Symposium on Combinatorial Search, volume 3.
- Foead, D.; Ghifari, A.; Kusuma, M.B.; Hanafiah, N.; Gunawan, E. (2021). A Systematic Literature Review of A* Pathfinding. Procedia Comput. Sci., 179, 507–514.
- Nobes, T.; Harabor, D.; Wybrow, M.; and Walsh, S. (2022). The Jump Point Search pathfinding system in 3D. Proceedings of the 15th International Symposium on Combinatorial Search (SoCS), 15(1): 145–152.
- Min J.-G., Ruy W.-S., Park C. S. (2020). Faster pipe auto-routing using improved jump point search. International Journal of Naval Architecture and Ocean Engineering, 12, 596–604.
- Mehta P, Shah H, Shukla S, Verma S. (2015). A Review on Algorithms for Pathfinding in Computer Games. 2nd International Conference on Innovations in Information Embedded and Communication Systems.