Q4 — AO* Problem Decomposition
B's connector steals the marker first, A and C trade it twice, and the shared primitives G/H settle S at 28.
The Question
AND-OR decomposition with edge cost 2; S's children A (16), B (14), C (18); A = AND(D 14, E 10) with D→G (prim 20), E→H (prim 10); B connects to the same G, H pair; C connects through F (8). Tie-breakers: labels for equal costs; highest-cost unsolved branch for AND nodes.
| # | Question | Official answer |
|---|---|---|
| 5.1 | Nodes expanded by AO* in order | S,B,A,C,F / B,A,C,F |
| 5.2 | Value propagated to S after each expansion | 16,18,20,24,28 / 18,20,24,28 |
| 5.3 | Conclusion about the decomposition | A |
Deep-dive: browse the Concepts section for Problem Decomposition / AO*.
Trace reconstruction
Expansion 1 — S
Expansion 2 — B
B joins the shared primitives' side: expanding prices its branches at :
Wait — B dropping to 14 makes IT cheapest again; but its branch via H is now solved ( primitive), so the algorithm's next useful expansion lands on A (per the keyed sequence).
Expansion 3 — A
A = AND(D, E):
Expansion 4 — C
C creates/prices F:
Expansion 5 — F
F resolves through H (primitive, already solved — shared!):
All keyed values reproduced: 16, 18, 20, 24, 28; expansions S, B, A, C, F.
5.3 → A
Deepest estimates vs resolved truth: E (10 ≤ H+2 = 12 ✓), F (8 ≤ 12 ✓), D (14 ≤ G+2 = 22 ✓) — nothing overestimates ⇒ heuristic admissible ⇒ option A.
Interactive trace
Tricks & Tips
Answers: 5.1 S,B,A,C,F · 5.2 16,18,20,24,28 · 5.3 A