Consider the vacuum-world problem defined as shown in the following figure-1. a. Which of the algorithms defined in this chapter would be appropriate for this problem? Should the algorithm use tree search or graph search? b. Apply your chosen algorithm to compute an optimal sequence of actions for a 3×3 world whose initial state has dirt in the three top squares and the agent in the center. c. Will you prefer an agent with state/ memory in this scenario? d. Compare your best search agent with a simple randomized reflex agent that sucks if there is dirt and otherwise moves randomly. e. Consider what would happen if the world were enlarged to n × n. How does the performance of the search agent and of the reflex agent vary with n?
Consider the vacuum-world problem defined as shown in the
following figure-1.
a. Which of the algorithms defined in this chapter would be
appropriate for this problem? Should the
or graph search?
b. Apply your chosen algorithm to compute an optimal sequence of
actions for a 3×3 world whose initial state has dirt in the three top
squares and the agent in the center.
c. Will you prefer an agent with state/ memory in this scenario?
d. Compare your best search agent with a simple randomized reflex
agent that sucks if there is dirt and otherwise moves randomly.
e. Consider what would happen if the world were enlarged to n × n.
How does the performance of the search agent and of the reflex
agent vary with n?
Step by step
Solved in 4 steps with 6 images