Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

A Comparison of Pathfinding Algorithm for Code Optimization on Grid Maps

Author 1: Azyan Yusra Kapi Author 2: Mohd Shahrizal Sunar Author 3: Zeyad Abd Algfoor
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 13, No. 12 · Published 2022

DOI: https://doi.org/10.14569/IJACSA.2022.0131247

Abstract

There have been various pathfinding algorithms created and developed over the past few decades to assist in finding the best path between two points. This paper presents a comparison of several algorithms for pathfinding on 2D grid maps. As a result, this study identified Jump Point Search Block Based Jumping (JPS (B)) as a potential algorithm in term of five evaluation metrics including search time. The comparisons pointed out the potential algorithm and code optimization was performed on the selected JPS(B) algorithm, and it was named JPS(BCO). This paper also explores issues regarding the JPS(B) and how to resolve them in order to optimize access to the index pointer. The presented enhance JPS(BCO) is capable to search optimal path quicker than the original JPS(B) as demonstrated by experimental findings. An experiment of different size grid maps is conducted to validate the ability of the proposed algorithm in term of search time. The comparative study with original JPS (B) exhibits the enhancement that has more benefits on grid maps of different size in terms of search time.

Keywords

How to Cite this Article

Kapi, A. Y., Sunar, M. S., & Algfoor, Z. A. (2022). A Comparison of Pathfinding Algorithm for Code Optimization on Grid Maps. International Journal of Advanced Computer Science and Applications, 13(12). https://doi.org/10.14569/IJACSA.2022.0131247

Kapi, Azyan Yusra, et al.. "A Comparison of Pathfinding Algorithm for Code Optimization on Grid Maps." International Journal of Advanced Computer Science and Applications, vol. 13, no. 12, 2022, https://doi.org/10.14569/IJACSA.2022.0131247.

@article{Kapi2022,
  title     = {A Comparison of Pathfinding Algorithm for Code Optimization on Grid Maps},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {13},
  number    = {12},
  year      = {2022},
  publisher = {The Science and Information Organization},
  author    = {Azyan Yusra Kapi and Mohd Shahrizal Sunar and Zeyad Abd Algfoor},
  doi       = {10.14569/IJACSA.2022.0131247},
  url       = {https://doi.org/10.14569/IJACSA.2022.0131247}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.