Answered step by step
Verified Expert Solution
Link Copied!

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 8-puzzle of Figure 1, differently numbered tiles are fitted into 9 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 1: The 8-puzzle
a) Solve the 8-puzzle using the Depth-First Search algorithm.
[6]
b) Solve the 8-puzze using the Breadth-First Search algonthm.
[6]
c) Solve the 8-puzzle using the A** Search algorithm.
[6]
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning ASP.NET 4.5 Databases

Authors: Sandeep Chanda, Damien Foggon

3rd Edition

1430243805, 978-1430243809

More Books

Students also viewed these Databases questions

Question

Th eir solution was to give me a long-distance number to call.

Answered: 1 week ago