Lab 1: Agent functions in the vacuum world
5DV248 Lecture 1 · Click a square to toggle dirt, edit the rules, then step the agent.
Environment
A
Dirty
B
Dirty
Step
Run
Reset
Percept = (location, status). The agent sees only this pair, never the world directly.
Your agent function (condition-action rules)
Current percept
Action
(A, Clean)
Right
Left
Suck
NoOp
(A, Dirty)
Suck
Right
Left
NoOp
(B, Clean)
Left
Right
Suck
NoOp
(B, Dirty)
Suck
Right
Left
NoOp
Defaults = REFLEX-VACUUM-AGENT from the slides. Change one rule and predict what happens before you press Step.
Percept-action log