Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In the 8 - puzzle of Figure 1 , differently numbered tiles are fitted into 9 spaces on a grid. One space is left blank
In the puzzle of Figure differently numbered tiles are fitted into spaces on a grid. One space is left blank so that the tiles can be moved around to form different pattems. The goal is to find a series of moves of the tiles into the blank space that places the board in a goal configuration. The following are legal moves, please note that if the blenk is at a comer only two moves are passible, if it is at the centre all the for moves are possible, if on the remaining spaces three moves are possible:
Move the blank up
Move the blank right
Move the blank down
Move the blank left
Goal state
Figure : The puzzle
a Solve the puzzle using the DepthFirst Search algorithm.
b Solve the puzze using the BreadthFirst Search algonthm.
c Solve the puzzle using the Search algorithm.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started