function Reflex-Vacuum-Agent(location,status] returns an action if status = Dirty then return Suck else if location = A then return Right else if location = B then return LeftProve that this vacuum-agent function is rational. One way of doing it it to show that for all situationsm i.e. all distributions of dirt and all initial locations, there is no reflex-agent that can do better.
height | hair | eyes | class |
---|---|---|---|
tall | dark | blue | yes |
short | dark | blue | yes |
tall | blond | blue | no |
tall | red | blue | no |
tall | blond | brown | yes |
short | blond | blue | no |
short | blond | brown | yes |
tall | dark | brown | yes |