Question: Exercise 4 ( 3 1 points ) . Consider an infinite 2 D grid where the initial state is the origin ( 0 , 0
Exercise points Consider an infinite D grid where the initial state is the origin the goal state is
uvinZ and the only possible actions are Up Down, Left, Right picked in that order when needed to break ties
each with a cost of As in the previous exercise, break ties in the priority queue by popping the oldest state.
point What is the branching factor b Explain.
points How many distinct states are there at depth i Explain.
points How many nodes at most will BFS expand if using tree search? And if using graph search?
Run each of the following algorithms for a goal uv giving for each the sequence of states as they are
explored either as a list or by marking it on the grid and the cost of the path found:
a points BFS
b points DFS
points Consider hxyuxvy at a state xy Is this an admissible heuristic? Explain.
points Run A using as heuristic h for a goal uv How many nodes does A expand? Give the cost
for the path found. Is it optimal?
points Repeat the previous two points for the function hxyuxvy
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
