Is it not true that when calculating moves for 1 tile, it can lead to other tiles falling into the state of the target? And therefore, counting for each tile can give us an account of more than the minimum steps necessary to achieve the goal state?
This question is in the context of the Manhattan distance for 15 puzzles.
Here is the question in different words:
Is it possible to use the Manhattan distance as a valid heuristic for N-Puzzle. To implement the A * search, we need a valid heuristic. Is Manhattan a heuristic candidate? If so, how do you contrast the above argument (first 3 sentences in the question)?
Definitions: A * is a kind of search algorithm. It uses a heuristic function to determine the estimated distance to the target. While this heuristic function never overestimates the distance to the target, the algorithm will find the shortest path, probably faster than the width search. A heuristic satisfying this condition is valid.
algorithm artificial-intelligence a-star heuristics
Akhil
source share