Q2 — Alpha-Beta Mid-Flight: The Cutoff Value of N
Five evals on the current path pin the window at N — the smallest odd value ≥ 11 cuts off, and it's a β-cutoff.
The Question
Alpha-Beta is mid-flight on a MAX-root tree. Evals along the current path (root → N): 5, 17, 7, 11, 9, N — all odd, .
| # | Question | Official answer |
|---|---|---|
| 2.1 | Eval of N that induces a cutoff (pruning N's siblings) | 11 |
| 2.2 | Type of cutoff | B — Beta cutoff |
The Topic in 60 Seconds
Levels alternate from the MAX root: MAX(5) → MIN(17) → MAX(7) → MIN(11) → MAX(9) → N.
The window slides down the path:
N is a child of MAX₅, whose window is .
Deep-dive: Alpha-Beta Pruning.
2.1 — The cutoff value → 11
A cutoff at MAX₅ fires the moment a child's value reaches (equal counts!). N must satisfy:
Candidates: 11, 13. The cutoff value is the boundary — the smallest eval that triggers the prune: N = 11 ✓
2.2 — Cutoff type → B (Beta cutoff)
The cutoff happens at MAX₅ — a MAX node hitting . Per the course convention:
| value reached | node type | cutoff name |
|---|---|---|
| MAX | β-cutoff ✓ | |
| MIN | α-cutoff |
→ Beta cutoff ✓
Tricks & Tips
Answers: 2.1 11 · 2.2 B (Beta cutoff)