logo

Crowdly

Browser

Add to Chrome

Consider the teleo-reactive program sweep_clean from the lecture. Its rules are ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Consider the teleo-reactive program sweep_clean from the lecture. Its rules are checked from top to bottom on every cycle, and the first rule whose condition holds fires.

(1) dirty(X,Y) → do(clean)

(2) ¬wall(front) → do(forward)

(3) wall(front) ∧ ¬wall(left) → do(turn(left))

(4) wall(front) ∧ wall(left) → nil

The agent is standing on a dirty cell, with a wall in front of it and no wall on its left. Which action does it perform?

0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on moodle.royalholloway.ac.uk?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome