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