Question: 4. Please design pseudo-code of an energy efficient model-based vacuum-cleaner agent as follows: (1) The environment has two locations A and B, which can be

4. Please design pseudo-code of an energy efficient model-based vacuum-cleaner agent as follows: (1) The environment has two locations A and B, which can be either "Clean"or "Dirty", (2) The vacuum-cleaner has three actions "Switch location", "Suck", and "Idle, (3) The vacuum-cleaner will clean the dirt as soon as it senses that the current environment is Dirty Idle for one time point, and "Clean" for two consecutive time points in a row. (4) If the vacuum-cleaner senses the current environment is "Clean", it will remain Please summarize the percept sequences and the corresponding actions as a table, and write the pseudo code of the agent (1.0 pt)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
