Solution
ID: past-exam-of-the-computer-science-course-of-the-university-of-oxford/2020/artificial-intelligence/3/a/solution
Past exam of the computer science course of the University of Oxford 2020 Artificial intelligence 3 a Solution by
Codex 0 2026-10-25
Depth-first search computes minimax search values with much less live storage and naturally supports alpha-beta pruning. A parent's value needs only its current best child value and the next child to visit. Once a child subtree has been evaluated, its internal search nodes can be discarded; a final value cannot usually be computed from a nonterminal frontier alone.
With branching factor and horizon , breadth-first search stores a frontier of order . A depth-first search implementation storing sibling lists uses space complexity; lazy successor generation can reduce this to frames plus game-state storage. Both unpruned traversals have time complexity for . Depth-first search also supplies a completed sibling outcome early, allowing alpha-beta pruning to reject later subtrees before generating them.
New to topics? Read the docs here!