How do you solve the 15-puzzle with A-Star or Dijkstra's Algorithm?

后端 未结 9 966
春和景丽
春和景丽 2021-02-02 15:35

I\'ve read in one of my AI books that popular algorithms (A-Star, Dijkstra) for path-finding in simulation or games is also used to solve the well-known \"15-puzzle\".

C

9条回答
  •  佛祖请我去吃肉
    2021-02-02 15:54

    A quick Google search turns up a couple papers that cover this in some detail: one on Parallel Combinatorial Search, and one on External-Memory Graph Search

    General rule of thumb when it comes to algorithmic problems: someone has likely done it before you, and published their findings.

提交回复
热议问题