Advertisement
Guest User

Untitled

a guest
Oct 18th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. (define (problem courseworkproblem)
  2. (:domain courseworkdomain)
  3.  
  4. (:objects
  5.  
  6.  
  7. spaceship
  8. bridge
  9. engineeringRoom
  10. sickbay
  11. transporterRoom
  12. shuttleBay
  13. scienceLab
  14. cargoBay
  15.  
  16. lift1
  17. lift2
  18. lift3
  19.  
  20.  
  21. captain
  22. engineers
  23. scienceOffers
  24. navigators
  25. medicalPersonnels
  26. securityStaff
  27. transpoterChief
  28. robots
  29. medicalSupplies
  30.  
  31. earth
  32. mars
  33. saturn
  34.  
  35. undamaged
  36. damaged
  37.  
  38. charged
  39. uncharged
  40.  
  41.  
  42. )
  43.  
  44. (:init
  45.  
  46. (personLocation captain bridge)
  47. (personLocation engineers engineeringRoom)
  48. (personLocation medicalPersonnels sickbay)
  49. (medicalSupplies cargoBay)
  50.  
  51. (shipLocation spaceship earth)
  52.  
  53. (path earth mars)
  54. (path mars earth)
  55. (path earth saturn)
  56. (path saturn earth)
  57.  
  58. (routes lift1 bridge)
  59. (routes bridge transporterRoom)
  60. (routes lift1 lift2)
  61. (routes lift2 shuttleBay)
  62. (routes shuttleBay cargoBay)
  63. (routes cargoBay sickBay)
  64. (routes lift2 lift3)
  65. (routes lift3 engineeringRoom)
  66. (routes engineeringRoom scienceLab)
  67.  
  68. (shipUndamaged damaged)
  69. (robots charged transporterRoom)
  70. (heavyEquipment transporterRoom)
  71. )
  72.  
  73. (:goal
  74. (and
  75.  
  76. (shipLocation spaceship mars)
  77. (shipUndamaged undamaged)
  78. (medicalSupplies sickBay)
  79. (heavyEquipment cargoBay)
  80. (personLocation engineers shuttleBay)
  81.  
  82. )
  83. )
  84. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement