- A heuristic function h(n) is applied to a node n
to measure its "promise"
- The heuristic function is an estimate of the distance remaining
to the goal from node n
- The lower the heuristic value the more promising the node
- Useful heuristic functions for 8-puzzle
- Tiles out of place (h1)
- Manhattan / City Block Distance (h2)
|