Question: Consider the search problem shown in the 5 times 7 grid below where an agent is allowed to move in all eight directions (
Consider the search problem shown in the times
grid below where an agent is allowed to move in all eight directions up down, left, right, and diagonally and walls are shown in black. The actions for moving up down, left, and right cost
while the diagonal moves cost
The initial state s
is in cell
and the goal sg
is in cell
The numbers in the cells show the heuristic value for each state; the heuristic is admissible. The agent cannot "cut corners", ie it cannot move diagonally if there is a wall in between the cells. For example, the agent cannot move from cell
to cell
with a diagonal move.
What is the solution cost A finds for this problem? What if we sorted the nodes in OPEN by their h
values, instead of their gh
values as A does?
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
