Question: Design a A * algorithm for the 8 - puzzle problem Specifications: Try the following two heuristics: h 1 - No . misplaced tiles; and

Design a A* algorithm for the 8-puzzle problem Specifications:
Try the following two heuristics: h1- No. misplaced tiles; and h2-Manhattan
distance (assume appropriate initial and goal configurations. Make sure these two
are different, and have at least 2 tiles not in their intended cells)
Compare the performance (in terms of convergence) with the baseline case, i.e.,
h=0.
Violate the condition h =< h*. See if the optimal path is still found. Comment on
the speed up issue. (you may consider only one heuristic) Explain that h1 and h2 are monotonic.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!