Question: Exercise 3 ( 4 2 points ) . Consider a vacuum world as follows. We have a 2 xx 2 grid with cells { (
Exercise points Consider a vacuum world as follows. We have a xx grid with cells The agent can move one step in any direction Up or Down with cost Left or Right with cost ; or Suck dirt with cost Any of the cells may or may not have dirt. A goal state has no dirt in any cell.
points Draw the statespace graph as in fig. How many states are there?
points For this problem, what is better: tree search or graph search? Explain.
Let the initial state be: agent at ; dirt only at For each of the following search algorithms, run it showing
your work the relevant data structures, path costs and parent predecessor in the path Draw the final search tree, give the path found to the goal and its cost. When needed to break ties in picking actions, use this order: SUDLR; also, if the lowest value of the evaluation function fn in a priority queue is achieved by multiple states,
pop the oldest one ie the one that entered the queue first
a points BFS
b points DFS
c points UCS.
points Let the initial state be: agent at ; dirt only at and Repeat as in the previous point.
points Repeat point but now assuming the actions U and D are not allowed.
points Repeat point but now assuming the actions U and D are not allowed.
FOR QUESTION PLEASE DRAW OUT THE FINAL SEARCH TREES ALONG WITH THE PATHS TO THE GOAL AND ITS COSTS. DO NOT VERBALLY EXPLAIN THE PROCESS, THAT DOES NOT ANSWER THE QUESTION! Figure The statespace graph for the twocell vacuum world. There are states and three actions for each state: mathrmL Left, mathrmR Right, mathrmS Suck.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
