questions regarding the use of A* with the 15-square puzzle

前端 未结 8 1918
无人共我
无人共我 2021-02-07 12:41

I\'m trying to build an A* solver for a 15-square puzzle.

The goal is to re-arrange the tiles so that they appear in their natural positions. You can only sli

8条回答
  •  梦谈多话
    2021-02-07 13:12

    Use IDA* instead of A*. You need much less memory. As a heuristics, the "Walking distance" developed by Ken'ichiro Takahashi is much more effective, though using only 25 kB of memory.
    Here and here is English translation.

提交回复
热议问题