After having successfully completed the AI course, you get a job in another town (as an AI expert of course), and you have to move out of your apartment. You have already packed all your belongings in nine moving boxes, scattered around the apartment, now all you have left to do is to move these boxes into the moving truck, which is parked just outside of the apartment. The boxes are too big to carry, so you have to push them between the rooms. The following graph shows the four rooms in the apartment, the truck, how many boxes are initially in which rooms, and how the rooms are connected: On each turn, you can either move or push a box into an adjacent location, in any direction: north, south, east, west. When this story begins, you have just parked the truck.

MIS
9th Edition
ISBN:9781337681919
Author:BIDGOLI
Publisher:BIDGOLI
Chapter13: Intelligent Information Systems
Section: Chapter Questions
Problem 4AYRM
icon
Related questions
Question

Moving out of your apartment

After having successfully completed the AI course, you get a job in another town (as an AI expert of course), and you have to move out of your apartment. You have already packed all your belongings in nine moving boxes, scattered around the apartment, now all you have left to do is to move these boxes into the moving truck, which is parked just outside of the apartment. The boxes are too big to carry, so you have to push them between the rooms. The following graph shows the four rooms in the apartment, the truck, how many boxes are initially in which rooms, and how the rooms are connected:

On each turn, you can either move or push a box into an adjacent location, in any direction: north, south, east, west. When this story begins, you have just parked the truck.

Implement the given scenario & Formulate this problem as a search problem, i.e.:

  • Design suitable representation of the search states?
  • Design a method of initial state
  • Set goal state
  • Calculate path cost at each step.
livingroom
2 boxes
bedroom
3 boxes
kitchen
hall
truck
3 boxes
1 box
boxes
no
Transcribed Image Text:livingroom 2 boxes bedroom 3 boxes kitchen hall truck 3 boxes 1 box boxes no
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Developing computer interface
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
MIS
MIS
Computer Science
ISBN:
9781337681919
Author:
BIDGOLI
Publisher:
Cengage
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L