Archives

5x5 puzzle: Comparison between reduction chains (STM, 10000 instances)

The multi-chained approach used in kumi na tano allows to use multiple search chains at the same time. The main advantage is that the best chain can be choosen depending on the instance to be solved, rather than hard-coded into the search algorithm.

For example, the first of the following two 5x5 instances has its leftmost column solved, while second has solved four tiles in top-right corner.

[1]
  1 17  9 10 18    18  3 16  4  5
  6  0  2  3  8    11  7 17  9 10
 11  5 22  7  4    19  2 23  0 21
 16 15 20 23 13     6 20 14 12  1
 21 19 12 14 24    13  8 15 22 24

We cah use multi-chained approach here. The following two partitioning schemes: