Question: - - - - [ 1 pt ] Please design pseudo - code of an energy efficient model - based vacuum - cleaner agent as

----
[1 pt] Please design pseudo-code of an energy efficient model-based vacuum-cleaner agent as
follows:
(1) The environment has three locations (A, B, C as shown in Figure 4) and three states
("Clean", "Dirty", "Unknown").
(2) The vacuum-cleaner has four actions "Left", "Right", "Suck", and "Idle",
(3) The vacuum-cleaner will clean the dirt as soon as it senses that the current environment is
Dirty,
(4) If the vacuum-cleaner senses the current environment is "Clean" or "Unknown", it will
remain Idle for one time point, and
(5) The vacuum-cleaner will change location if it senses the current environment is "Clean"
for two consecutive time points in a row, and
(6) The vacuum-cleaner will change location if it senses the current environment is
"Unknown" for two consecutive time points in a row.
(7) When change locations, agent can only move "right" if it is at location "C", move "left"
if it is at location "B", and randomly decide to move "left" or "right" if it is location "A"
Summarize percept sequences and corresponding actions as a table [0.5 pt],
Write the pseudo code of the agent .
 ---- [1 pt] Please design pseudo-code of an energy efficient model-based

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!