Q3 — SSS* with Two Root Branches

All four leaves get evaluated and solved — then A, C and D leave the queue when their MAX ancestors resolve.

The Question

Squares = MAX, circles = MIN. Horizon nodes A–D. Tie-breaker: deepest, then leftmost.

#QuestionOfficial answer
3.1Horizon nodes assigned SOLVEDA,B,C,D
3.2Horizon nodes pruned (removed from queue by a MAX-ancestor)A,C,D

The Topic in 60 Seconds

Course SSS* loop: process the highest-merit node — LIVE leaf → SOLVED with its eval; LIVE MAX → insert all children; LIVE MIN → insert first child only; SOLVED node → MAX parent resolves (purge siblings), MIN parent updates merit / completes.

Deep-dive: SSS*, Game Strategies.

The trace — all four leaves evaluated

Backups: L1=max⁡(min⁡(11),min⁡(70))=max⁡(11,70)=70L_1 = \max(\min(11), \min(70)) = \max(11, 70) = 70; R1=max⁡(48,54)=54R_1 = \max(48, 54) = 54; L=70L = 70; R=54R = 54; Root =max⁡(70,54)=70= \max(70, 54) = \mathbf{70}.

StepProcessedEffect
1Root (MAX)insert L(∞), R(∞)
2L (MIN, ∞)insert first child L1 (∞)
3L1 (MAX, ∞)insert La(∞), Lb(∞)
4La (MIN, ∞)insert A(∞)
5A (leaf)A SOLVED = 11 → La merit 11; La has no other children → La SOLVED 11
6La SOLVED → L1 (MAX)L1 not yet solved (Lb pending); Lb stays in OPEN
7R has merit ∞ > Lb(11) → process R sideR (MIN) → R1 (∞) → Ra(∞), Rb(∞) → C → C SOLVED = 48 → Rb inserted (48)
8D (leaf, 48)D SOLVED = 54 → Rb SOLVED 48 → R1 SOLVED 54 → R SOLVED 54
9R SOLVED → Root (MAX)Root merit revised to 54; back to the left side
10B (leaf, 11)B SOLVED = 70 → Lb SOLVED 70 → L1 SOLVED 70 → L SOLVED 70
11L SOLVED → RootRoot SOLVED = max(70, 54) = 70. Done.

Every leaf was evaluated: SOLVED = A, B, C, D ✓

Interactive trace — squares = MAX, circles = MIN; green = SOLVED:

1 / 9
Root (MAX) → insert ALL children. OPEN = { L(∞), Rt(∞) }
processing nowwaiting in OPENSOLVEDnot yet reached

3.2 — Pruned by MAX-ancestor → A,C,D

When a MAX ancestor resolves, the leaves beneath it are removed from the queue:

  • A — removed when L1L_1 (MAX) resolves (via B = 70 on the right twin).
  • C — removed when R1R_1 (MAX) resolves (via D = 54).
  • D — removed when RbR_b/R1R_1 resolve.

B is the last leaf evaluated — it completes the search rather than being cleared out — so the pruned set is A, C, D ✓

Contrast with the AN paper

Same values (11, 70, 48, 54) but a different shape: here the root has TWO MIN children, so both sides must be explored and every leaf ends up SOLVED — whereas the AN paper's single-MIN chain solved everything and pruned nothing.

Tricks & Tips

Answers: 3.1 A,B,C,D · 3.2 A,C,D