A Comparative Study of Informed and Uninformed Search Algorithm to Solve Eight-Puzzle Problem
Wahyu Hidayat1, Fitri Susanti1 & Dedy Rahman Wijaya1 Show affiliations
- Telkom University, Indonesia
Journal of Computer Science, Volume 17, Issue 11, pp. 1147–1156 · doi.org/10.3844/jcssp.2021.1147.1156
Abstract
Problems in artificial intelligence can be solved using intelligent tracking methods through intelligent search mechanisms. Understandably, search algorithm performances are highly dependent on the problem solved. In this study, we evaluate and compare the performance of five uninformed and informed search (breadth-first search, depth first search, optimal search and best first search using two heuristic functions, namely mismatched tile and Manhattan distance) algorithms to solve the eight-puzzle game problem. For each algorithm, the numbers of raised and explored nodes were assessed and analyzed. Our experiment demonstrates that informed search with heuristic outperforms uninformed search significantly, both in terms of memory usage efficiency and computational power efficiency. On average, the informed search using heuristic requires only 5.33% of memory used by uninformed search and only 4.45% of computational power demanded by uninformed search. Boxplot analysis also confirms that informed search using heuristic also delivers more stable performance contrasted to uninformed search. These could be a concern for researchers and game developers to consider implementing the heuristically enhanced search algorithm to utilize memory and computational power efficiently to solve similar problems.
Licence and reuse
Open access. This article is licensed under a Creative Commons Attribution 4.0 International Licence (CC BY 4.0), as printed on the article, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original authors and the source. No permission is needed.
How to reuse this articleResponses (0)
About this article
Hidayat, W., Susanti, F. & Wijaya, D. R. (2021). A Comparative Study of Informed and Uninformed Search Algorithm to Solve Eight-Puzzle Problem. Journal of Computer Science, 17(11), 1147–1156. https://doi.org/10.3844/jcssp.2021.1147.1156
- Licence
- CC BY 4.0
- Issue
- Volume 17, Issue 11
- Policies
- Editorial independenceUse of generative AIData availabilityAppeals and complaints
- Version
- Version of record
