KEYS AND BOXES SOLUTION

Assume, without loss of generality, that the robot's initially-held object is ?, where ? is one of the unknown items at the non-keys box.

(Comments are signalled by ";".)

  1. goto box1
  2. put down
  3. goto door
  4. pick up
  5. goto table
  6. put down
  7. goto box1
  8. pick up
  9. goto door
  10. put down
  11. goto box1
  12. pick up
  13. goto door
  14. put down
  15. goto box2
  16. pick up
  17. goto door
  18. put down
  19. goto table
  20. pick up
  21. goto outside



Copyright © 1986, 2001 by William J. Rapaport (rapaport@cse.buffalo.edu)
file: AIQ/keys.soln.02nv01.html