The vacuum cleaner problem is a well-known search problem for a vacuum cleaner robot that works on Artificial Intelligence. In this problem to clean up the whole area. In the superficial world, the vacuum cleaner agent has a location sensor and a dirt sensor to know where it is (room A, room B, or any n room) and whether the room is dirty. Also, the robot needs to avoid the obstacle (stool) and find a new path. A possible performance measure is to maximize the number of clean rooms over a certain period. For this problem, four main conditions should be considered: in(x,y) means a robot at (x,y) dirt(x,y) means there is a dirt at(x,y) facing(d) means the robot is facing direction d, where d ={north, east, south, west} • hit(s) means the robot hits the obstacle s possible actions the robot can do - turn, forward, suck-dirt, avoid a) Write possible rules that can be used to perform the room cleaning plan b) Execute this plan using the PRE-CONDITION, DELETE-LIST and ADD-LIST action schema c) If each movement will create a +1 path cost, compute the possible path cost for this problem.
. The vacuum cleaner problem is a well-known search problem for a vacuum cleaner robot that works on
|
||
|
|
|
|
||
|
|
|
For this problem, four main conditions should be considered:
- in(x,y) means a robot at (x,y)
- dirt(x,y) means there is a dirt at(x,y)
- facing(d) means the robot is facing direction d, where d ={north, east, south, west} • hit(s) means the robot hits the obstacle s
- possible actions the robot can do - turn, forward, suck-dirt, avoid
- a) Write possible rules that can be used to perform the room cleaning plan
- b) Execute this plan using the PRE-CONDITION, DELETE-LIST and ADD-LIST action schema
c) If each movement will create a +1 path cost, compute the possible path cost for this problem.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 4 images