N-Puzzle

1
2
3
4
5
6
7
8
-
1
2
3
4
5
6
7
8
-

The graph-search algorithms in this list fall in to two categories:

  • Uninformed algorithms - those that do not make use of a heuristic function
  • Informed algorithms - those that do make some use of a heuristic function

See your lecture notes and the assigned text book to learn more about each algorithm.

When using an informed algorithm, such as A* Search, you must also choose a heuristic.

You can choose one of three heuristics:

  • Euclidean distance - sum of the straight-line distance for each tile out of place
  • Manhattan distance - sum of horizontal and vertical distance for each tile out of place
  • Tiles-out - the number of tiles that are out of place

7
7
7
7
7
7
7
7
7

Discard