8 puzzle heuristics

I discussed several heuristics in class as well as how many heuristics can be derived from a formal description of the problem. This is discussed in a little detail in your text in Section 4.2.

Here are some heuristics, some of which I covered in class:

Note that some of these heuristics involve performing a search to find the value of the heuristic. In these cases, you want the additional time spent evaluating the heuristic to be more than offset by the decrease in the effective branching factor.

You could create the "perfect" heuristic by having it perform an A* search to find the exact number of steps to reach the goal, but that would not be a good solution to this problem!