IEEJ Transactions on Electronics, Information and Systems
Online ISSN : 1348-8155
Print ISSN : 0385-4221
ISSN-L : 0385-4221
<Information Processing, Software>
Construction of Pattern Databases for Solving Hakoiri-Musume Type Sliding-Block Puzzles and Evaluation of Their Efficiencies
Osami YamamotoTakayuki Kato
Author information
JOURNAL FREE ACCESS

2017 Volume 137 Issue 9 Pages 1286-1295

Details
Abstract

This paper describes pattern databases for solving Hakoiri-Musume type puzzles using the A* algorithm and the IDA* algorithm. Although the original Hakoiri-Musume puzzle is not very hard to solve even on a small PC, it is not easy to solve extended versions of the puzzle, particularly, to obtain the optimal solutions of the puzzles. The puzzles have multiple goal states and are completely different from the sliding puzzles whose all pieces are distinguished such as the fifteen puzzle. In this paper, we defined relaxation problems of the puzzles and constructed pattern databases of the problems. Using the evaluation functions derived from the databases, we were able to obtain the optimal solutions of the puzzle of size 6 × 7 from randomly generated initial patterns about 100 to 10,000 times faster than the ordinary breadth-first search algorithm. For some of our pattern databases, the sum of the construction time of the database and the search time using the database was less than the running time of the ordinary breadth-first search algorithm.

Content from these authors
© 2017 by the Institute of Electrical Engineers of Japan
Previous article Next article
feedback
Top