What can be the efficient approach to solve the 8 puzzle problem?

后端 未结 6 663
你的背包
你的背包 2021-01-31 05:29

The 8-puzzle is a square board with 9 positions, filled by 8 numbered tiles and one gap. At any point, a tile adjacent to the gap can be moved into the gap, creating a new gap p

6条回答
  •  不要未来只要你来
    2021-01-31 06:00

    Since the OP cannot post a picture, this is what he's talking about:

    8 Puzzle - Initial State

    As far as solving this puzzle, goes, take a look at the iterative deepening depth-first search algorithm, as made relevant to the 8-puzzle problem by this page.

提交回复
热议问题