✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
(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?