AIMA Artificial Intelligence a modern approch

AIMA-exercises is an open-source community of students, instructors and developers. Anyone can add an exercise, suggest answers to existing questions, or simply help us improve the platform. We accept contributions on this github repository.

Exercise 2.2 [vacuum-rationality-exercise]

Let us examine the rationality of various vacuum-cleaner agent functions.

  1. Show that the simple vacuum-cleaner agent function described in FigureĀ vacuum-agent-function-table is indeed rational under the assumptions listed on pageĀ vacuum-rationality-page.

  2. Describe a rational agent function for the case in which each movement costs one point. Does the corresponding agent program require internal state?

  3. Discuss possible agent designs for the cases in which clean squares can become dirty and the geography of the environment is unknown. Does it make sense for the agent to learn from its experience in these cases? If so, what should it learn? If not, why not?

View Answer