This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: disc should not be at two places at the same time. Sample Solution Initial State Clear (d1) Clear (b) Clear (c) On (d1, d2) On (d2, d3) On (d3, a) Smaller (d1, d2) Smaller (d1, d3) Smaller (d2, d3) Smaller (d1, a) Smaller (d1, b) Smaller (d1, c) Smaller (d2, a) Smaller (d2, b) Smaller (d2, c) Smaller (d3, a) Smaller (d3, b) Smaller (d3, c) Goal State Clear (d1) Clear (a) Clear (b) On (d1, d2) On (d2, d3) On (d3, c) Operator Move (X, Y, Z) /* disk X currently on Y is moved to Z */ Preconditions: Clear (X) On (X, Y) Clear (Z) Smaller (X, Z) Effects: ~Clear (Z) ~On (X, Y) Clear(Y) On (X, Z) One possible solution Move (d1, d2, c) Move (d2, d3, b) Move (d1, c, d2) Move (d3, a, c) Move (d1, d2, a) Move (d2, b, d3) Move (d1, a, d2)...
View
Full
Document
This note was uploaded on 09/10/2008 for the course CS 460 taught by Professor Svenkoenig during the Fall '08 term at Urbana.
 Fall '08
 SvenKoenig

Click to edit the document details