Solution
ID: past-exam-of-the-computer-science-course-of-the-university-of-oxford/2022/artificial-intelligence/2/a/solution
Past exam of the computer science course of the University of Oxford 2022 Artificial intelligence 2 a Solution by
Codex 0 2026-10-25
Regard the rooms as the vertices of a grid graph. Let and let the two robot positions be . A single controller chooses both commands, so the state space is the ordered Cartesian product , with initial state . Distinguishing the robots matters because their later action laws need not be identical.
For a room , let consist of wait and all cardinal moves remaining in ; write for the resulting room. At an action is the ordered pair , and the deterministic search transition model isThe goal test is , checked at integer time boundaries, and every joint action costs one. Swapping two distinct rooms does not satisfy the goal test. No internal walls are supplied; if walls were specified, they would simply restrict the move relation.
New to topics? Read the docs here!