Advertisement
logicmoo

Untitled

Jul 23rd, 2016
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 27.23 KB | None | 0 0
  1. root@ubuntu:/opt/PrologMUD/daydreamer3.5# ecl -eval '(load "dd.cl")'
  2. ;;; Loading "/opt/PrologMUD/daydreamer3.5/dd.cl"
  3. ;;; Loading "/opt/PrologMUD/daydreamer3.5/gate_get.cl"
  4. =======================
  5. Loading GATE 2.3, Common Lisp version of 2004-12-20...
  6. =======================
  7. ;;; Loading #P"/opt/PrologMUD/daydreamer3.5/compat.lsp"
  8. ;;; Loading #P"/opt/PrologMUD/daydreamer3.5/loop.lsp"
  9. ;;; Loading #P"/opt/PrologMUD/daydreamer3.5/gate_macros.lsp"
  10. ;;; Loading #P"/opt/PrologMUD/daydreamer3.5/gate_main.lsp"
  11. ;;; Loading #P"/opt/PrologMUD/daydreamer3.5/gate_ty.lsp"
  12. ;;; Loading #P"/opt/PrologMUD/daydreamer3.5/gate_cx.lsp"
  13. ;;; Loading #P"/opt/PrologMUD/daydreamer3.5/gate_instan.lsp"
  14. ;;; Loading #P"/opt/PrologMUD/daydreamer3.5/gate_prove.lsp"
  15. ;;; Loading #P"/opt/PrologMUD/daydreamer3.5/gate_read_pr.lsp"
  16. ;;; Loading #P"/opt/PrologMUD/daydreamer3.5/gate_unify.lsp"
  17. ;;; Loading #P"/opt/PrologMUD/daydreamer3.5/gate_utils.lsp"
  18. ;;; Loading "/opt/PrologMUD/daydreamer3.5/gate_obs.cl"
  19. =======================
  20. Welcome to GATE 2.3, Common Lisp version of 2004-12-20
  21. =======================
  22. ;;; Loading "/opt/PrologMUD/daydreamer3.5/dd_get.cl"
  23. =======================
  24. Loading DAYDREAMER 3.5, Common Lisp version of 2004-12-20...
  25. =======================
  26. ;;; Loading #P"/opt/PrologMUD/daydreamer3.5/dd_macros.lsp"
  27. ;;; Loading #P"/opt/PrologMUD/daydreamer3.5/dd_cntrl.lsp"
  28. ;;; Loading #P"/opt/PrologMUD/daydreamer3.5/dd_epis.lsp"
  29. ;;; Loading #P"/opt/PrologMUD/daydreamer3.5/dd_mutation.lsp"
  30. ;;; Loading #P"/opt/PrologMUD/daydreamer3.5/dd_night.lsp"
  31. ;;; Loading #P"/opt/PrologMUD/daydreamer3.5/dd_reversal.lsp"
  32. ;;; Loading #P"/opt/PrologMUD/daydreamer3.5/dd_ri.lsp"
  33. ;;; Loading #P"/opt/PrologMUD/daydreamer3.5/dd_rule1.lsp"
  34. ;;; Loading #P"/opt/PrologMUD/daydreamer3.5/dd_rule2.lsp"
  35. ;;; Loading #P"/opt/PrologMUD/daydreamer3.5/dd_utils.lsp"
  36. ;;; Loading "/opt/PrologMUD/daydreamer3.5/dd_kb.cl"
  37. Adding rule ENTERTAINMENT-THEME
  38. Adding rule ENTERTAINMENT-PLAN1
  39. Adding rule ENTERTAINMENT-INF1
  40. Adding rule M-MOVIE-ALONE-PLAN
  41. Adding rule MTRANS-MOVIE-PLAN
  42. Adding rule LOVERS-THEME
  43. Adding rule LOVERS-PLAN
  44. Adding rule ACQUAINTED-PLAN
  45. Adding rule M-CONVERSATION-PLAN
  46. Adding rule MTRANS-ACCEPTABLE-INF1
  47. Adding rule MTRANS-ACCEPTABLE-INF2
  48. Adding rule MTRANS-ACCEPTABLE-INF3
  49. Adding rule M-AGREE-PLAN
  50. Adding rule LOVERS-THEME-PLAN
  51. Adding rule M-DATE-PLAN
  52. Adding rule ENABLE-FUTURE-VPROX-PLAN1
  53. Adding rule ENABLE-FUTURE-VPROX-PLAN2
  54. Adding rule FRIDAY-NIGHT-PLAN
  55. Adding rule NOT-LOVERS-PLAN1
  56. Adding rule M-BREAK-UP-PLAN1
  57. Adding rule M-BREAK-UP-PLAN2
  58. Adding rule AT-PLAN
  59. Adding rule PTRANS-PLAN
  60. Adding rule BELIEVE-PLAN1
  61. Adding rule BELIEVE-PLAN2
  62. Adding rule MTRANS-PLAN2
  63. Adding rule VPROX-PLAN1
  64. Adding rule VPROX-INF
  65. Adding rule POS-ATTITUDE-PLAN2
  66. Adding rule POS-ATTITUDE-PLAN3
  67. Adding rule ROMANTIC-INTEREST-PLAN1
  68. Adding rule ROMANTIC-INTEREST-PLAN2
  69. Adding rule STAR-PLAN
  70. Adding rule M-STUDY-PLAN
  71. Adding rule RATIONALIZATION-THEME
  72. Adding rule RATIONALIZATION-PLAN1
  73. Adding rule RATIONALIZATION-INF1
  74. Adding rule RATIONALIZATION-PLAN2
  75. Adding rule LEADTO-PLAN1
  76. Adding rule OTHER-RULE1
  77. Adding rule ACTING-JOB-THEME
  78. Adding rule RPROX-PLAN
  79. Adding rule PTRANS1-PLAN
  80. Adding rule JOB-FAILURE
  81. Adding rule LOVERS-P-GOAL
  82. Adding rule WELL-DRESSED-PLAN2
  83. Adding rule RATIONALIZATION-PLAN3
  84. Adding rule MINIMIZATION-PLAN
  85. Adding rule REVENGE-THEME
  86. Adding rule REVENGE-PLAN1
  87. Adding rule FAILED-REL-GOAL-PLAN1
  88. Adding rule BELIEF-PERS-ATTR-PLAN1
  89. Adding rule BELIEF-PERS-ATTR-PLAN3
  90. Adding rule KNOW-TELNO-RULE1
  91. Adding rule KNOW-TELNO-RULE2
  92. Adding rule NEG-ATTITUDE-INF
  93. Adding rule SOCIAL-ESTEEM-FAILURE
  94. Adding rule WELL-DRESSED-PLAN1
  95. Adding rule WEARING-PLAN
  96. Adding rule M-PUTON-PLAN
  97. Adding rule VPROX-PLAN2
  98. Adding rule VPROX-PLAN4
  99. Adding rule M-PHONE-PLAN1
  100. Adding rule M-PHONE-PLAN2
  101. Adding rule KNOW-PLAN2
  102. Adding rule KNOW-PLAN3
  103. Adding rule MTRANS-PLAN1
  104. Adding rule VPROX-REFLEXIVE-PLAN
  105. Adding rule BELIEVE-BELIEVE-INF
  106. Defining episode...
  107. Assert #{OB.1978: (SUCCEEDED-GOAL obj (RPROX...)......)} in CX.3
  108. Assert #{OB.1980: (INTENDS linked-from (SUCCEEDED-GOAL...)......)} in CX.3
  109. Assert #{OB.1975: (SUCCEEDED-GOAL obj (ACTING-EMPLOY...)......)} in CX.3
  110. Generating rule automatically.
  111. Adding rule EPISODIC-RULE.1:
  112. (RULE subgoal (RPROX actor ?var3456:PERSON
  113.                      location ?var3457:CITY)
  114.       goal (ACTING-EMPLOY actor ?var3456:PERSON ?var3458:ORGANIZATION)
  115.       is 'PLAN-ONLY
  116.       plausibility 0.7)
  117. Make episode for goal #{OB.1975: (SUCCEEDED-GOAL obj (ACTING-EMPLOY...)......)}
  118. Storing #{EPISODE.1: (EPISODE rule EPISODIC-RULE.1......)} under #{EPISODIC-RULE.1: (RULE subgoal (RPROX actor ......) goal ......)}
  119. Defining episode...
  120. Assert #{OB.2012: (SUCCEEDED-GOAL obj (PTRANS...)......)} in CX.4
  121. Assert #{OB.2014: (INTENDS linked-from (SUCCEEDED-GOAL...)......)} in CX.4
  122. Assert #{OB.2010: (SUCCEEDED-GOAL obj (AT actor ......)......)} in CX.4
  123. Make episode for goal #{OB.2010: (SUCCEEDED-GOAL obj (AT actor ......)......)}
  124. Storing #{EPISODE.2: (EPISODE rule AT-PLAN goal ......)} under #{AT-PLAN: (RULE subgoal (PTRANS actor ......)......)}
  125. Assert #{OB.2016: (INTENDS linked-from (SUCCEEDED-GOAL...)......)} in CX.4
  126. Assert #{OB.2017: (SUCCEEDED-GOAL obj (AT actor ......)......)} in CX.4
  127. Assert #{OB.2019: (INTENDS linked-from (SUCCEEDED-GOAL...)......)} in CX.4
  128. Assert #{OB.2008: (SUCCEEDED-GOAL obj (LOVERS...)......)} in CX.4
  129. Generating rule automatically.
  130. Adding rule EPISODIC-RULE.2:
  131. (RULE subgoal (RSEQ obj (AT actor ?var3464:PERSON
  132.                             obj ?var3465:LOCATION)
  133.                         (AT actor ?var3466:PERSON
  134.                             obj ?var3465:LOCATION))
  135.       goal (LOVERS actor ?var3464:PERSON ?var3466:PERSON)
  136.       is 'PLAN-ONLY
  137.       plausibility 0.7)
  138. Make episode for goal #{OB.2008: (SUCCEEDED-GOAL obj (LOVERS...)......)}
  139. Storing #{EPISODE.3: (EPISODE rule EPISODIC-RULE.2......)} under #{EPISODIC-RULE.2: (RULE subgoal (RSEQ obj (AT...) ......)......)}
  140. Assert #{OB.2031: (INTENDS linked-from (SUCCEEDED-GOAL...)......)} in CX.4
  141. Assert #{OB.2002: (SUCCEEDED-GOAL obj (LEADTO...)......)} in CX.4
  142. Generating rule automatically.
  143. Adding rule EPISODIC-RULE.3:
  144. (RULE subgoal (LOVERS actor ?var3464:PERSON ?var3466:PERSON)
  145.       goal (LEADTO ante (FAILED-GOAL obj (LOVERS actor ?var3464:PERSON ?var3467:PERSON))
  146.                    conseq (SUCCEEDED-GOAL obj (LOVERS actor ?var3464:PERSON ?var3466:PERSON)))
  147.       is 'PLAN-ONLY
  148.       plausibility 0.7)
  149. Make episode for goal #{OB.2002: (SUCCEEDED-GOAL obj (LEADTO...)......)}
  150. Storing #{EPISODE.4: (EPISODE rule EPISODIC-RULE.3......)} under #{EPISODIC-RULE.3: (RULE subgoal (LOVERS actor ......)......)}
  151. Assert #{OB.2042: (INTENDS linked-from (SUCCEEDED-GOAL...)......)} in CX.4
  152. Assert #{OB.1997: (SUCCEEDED-GOAL obj (LEADTO...)......)} in CX.4
  153. Generating rule automatically.
  154. Adding rule EPISODIC-RULE.4:
  155. (RULE subgoal (LEADTO ante (FAILED-GOAL obj (LOVERS actor ?var3464:PERSON ?var3467:PERSON))
  156.                       conseq (SUCCEEDED-GOAL obj (LOVERS actor ?var3464:PERSON ?var3466:PERSON)))
  157.       goal (LEADTO ante (FAILED-GOAL obj (LOVERS actor ?var3464:PERSON ?var3467:PERSON))
  158.                    conseq (SUCCEEDED-GOAL))
  159.       is 'PLAN-ONLY
  160.       plausibility 0.7)
  161. Make episode for goal #{OB.1997: (SUCCEEDED-GOAL obj (LEADTO...)......)}
  162. Storing #{EPISODE.5: (EPISODE rule EPISODIC-RULE.4......)} under #{EPISODIC-RULE.4: (RULE subgoal (LEADTO ante ......) goal ......)}
  163. ;;; Loading "/opt/PrologMUD/daydreamer3.5/dd_gen.cl"
  164. =======================
  165. Welcome to DAYDREAMER 3.5, Common Lisp version of 2004-12-20
  166. =======================
  167. DAYDREAMER 3.5, Common Lisp version of 2004-12-20
  168. Initialize DAYDREAMER
  169. Performing first-time initialization
  170. Creating primal reality...
  171. Assert #{OB.1995: (KNOW actor CHRIS obj BAR1-LOC......)} in CX.5
  172. Assert #{OB.1994: (KNOW actor ME obj BAR1-LOC......)} in CX.5
  173. Assert #{OB.1992: (AT actor BAR1 obj BAR1-LOC......)} in CX.5
  174. Assert #{VENICE: (CITY name "Venice Beach")} in CX.5
  175. Assert #{OB.1781: (KNOW actor MOVIE-STAR1 obj ......)} in CX.5
  176. Assert #{OB.1710: (EMPLOYMENT actor CARMELITA1......)} in CX.5
  177. Assert #{OB.1679: (AT actor RAINCOAT1 obj HOME......)} in CX.5
  178. Assert #{OB.1662: (AT actor CHIC-OUTFIT1 obj ......)} in CX.5
  179. Assert #{OB.1647: (RICH actor MOVIE-STAR1)} in CX.5
  180. Assert #{OB.1646: (POS-ATTITUDE obj MOVIE-STAR1......)} in CX.5
  181. Assert #{OB.1503: (MOVIE-STAR actor MOVIE-STAR1......)} in CX.5
  182. Assert #{OB.1412: (WEARING actor ME obj (NECKLACE...)......)} in CX.5
  183. Assert #{OB.1350: (BELIEVE actor MOVIE-STAR1 obj ......)} in CX.5
  184. Assert #{OB.1349: (RPROX actor MOVIE-STAR1 location ......)} in CX.5
  185. Assert #{OB.1348: (RPROX actor ME location LOS-ANGELES......)} in CX.5
  186. Assert #{OB.1347: (RPROX actor MY-JOB location ......)} in CX.5
  187. Assert #{OB.1346: (EMPLOYMENT actor ME MY-BOSS......)} in CX.5
  188. Assert #{OB.1200: (STAR actor MOVIE-STAR1 level ......)} in CX.5
  189. Assert #{OB.594: (KNOW actor ME obj NUART-LOCATION......)} in CX.5
  190. Assert #{OB.395: (KNOW actor ME obj HOME)} in CX.5
  191. Assert #{OB.394: (ADDRESS actor ME obj HOME)} in CX.5
  192. Assert #{OB.393: (AT actor ME obj HOME)} in CX.5
  193. Assert #{OB.376: (KNOW actor ME obj OUTSIDE)} in CX.5
  194. Assert #{OB.372: (AT actor MAIL1 obj OUTSIDE......)} in CX.5
  195. Assert #{OB.290: (AT actor NUART-THEATER obj ......)} in CX.5
  196. Assert #{OB.285: (ROMANTIC-INTEREST obj MOVIE-STAR1......)} in CX.5
  197.  
  198. Creating initial reality context...
  199. #{CX.5: (CX)} --> #{CX.6: (CX)}
  200. Assert #{OB.241: (ENTERTAINMENT strength 0.1......)} in CX.6
  201. Assert #{OB.242: (LOVE-RECEIVING strength 0.1......)} in CX.6
  202. Assert #{FOOD-NEED: (FOOD strength 1.0)} in CX.6
  203. Assert #{MONEY-NEED: (MONEY strength 1.0)} in CX.6
  204. Assert #{OB.245: (POSSESSIONS strength 1.0)} in CX.6
  205. Assert #{OB.246: (SEX strength 1.0)} in CX.6
  206. Assert #{OB.247: (LOVE-GIVING strength 1.0)} in CX.6
  207. Assert #{OB.248: (COMPANIONSHIP strength 1.0......)} in CX.6
  208. State changes from SUSPENDED to DAYDREAMING
  209. Run inferences in #{CX.6: (CX)}, bp = (#{ME: (FEMALE-PERSON first-name "Sarah"......)})
  210. ******************
  211. BELIEF-PERS-ATTR-PLAN1 BELIEF-PERS-ATTR-PLAN1 fired as inference in CX.6
  212. -------------------------------------------------------
  213. IF   person is STAR
  214. THEN person BELIEVE person is STAR
  215. -------------------------------------------------------
  216.  
  217. ?LEVEL = SOME-LEVEL
  218. ?PERSON = #{MOVIE-STAR1: (MALE-ACTOR first-name "Harrison"......)}
  219. ?SELF = #{ME: (FEMALE-PERSON first-name "Sarah"......)}
  220. Assert #{OB.2205: (BELIEVE actor MOVIE-STAR1 obj ......)} in CX.6
  221. Assert #{OB.2207: (DEPENDENCY linked-from (STAR...)......)} in CX.6
  222. ******************
  223. WELL-DRESSED-PLAN2 WELL-DRESSED-PLAN2 fired as inference in CX.6
  224. -------------------------------------------------------
  225. IF   self WEARING necklace
  226. THEN self is WELL-DRESSED
  227. -------------------------------------------------------
  228.  
  229. ?SELF = #{ME: (FEMALE-PERSON first-name "Sarah"......)}
  230. Assert #{OB.2209: (WELL-DRESSED actor ME)} in CX.6
  231. Assert #{OB.2210: (DEPENDENCY linked-from (WEARING...)......)} in CX.6
  232. ******************
  233. LOVERS-THEME LOVERS-THEME fired as inference in CX.6
  234. -------------------------------------------------------
  235. IF   self not LOVERS with anyone
  236. THEN ACTIVE-GOAL for LOVERS with some person
  237. -------------------------------------------------------
  238.  
  239. ?SELF = #{ME: (FEMALE-PERSON first-name "Sarah"......)}
  240. ******************
  241. Activate top-level goal #{OB.2212: (ACTIVE-GOAL obj (LOVERS actor ......)......)} in #{CX.6: (CX)}
  242. Assert #{OB.2212: (ACTIVE-GOAL obj (LOVERS actor ......)......)} in CX.6
  243. ==================================================
  244.  I want to be going out with someone.
  245. ==================================================
  246. Add dependency from #{OB.2214: (POS-EMOTION strength 0.9)} to #{OB.2212: (ACTIVE-GOAL obj (LOVERS actor ......)......)} in #{CX.6: (CX)}
  247. Assert #{OB.2215: (DEPENDENCY linked-from (POS-EMOTION...)......)} in CX.6
  248. Assert #{OB.2214: (POS-EMOTION strength 0.9)} in CX.6
  249. ==================================================
  250.  I feel really interested in going out with
  251.  someone.
  252. ==================================================
  253. Personal goal concern OB.2212: LOVERS motiv 0.9 status HALTED
  254. ******************
  255. ENTERTAINMENT-THEME ENTERTAINMENT-THEME fired as inference in CX.6
  256. -------------------------------------------------------
  257. IF   level of satisfaction of ENTERTAINMENT need
  258.      below threshold
  259. THEN ACTIVE-GOAL for ENTERTAINMENT
  260. -------------------------------------------------------
  261.  
  262. ?SELF = #{ME: (FEMALE-PERSON first-name "Sarah"......)}
  263. ******************
  264. Activate top-level goal #{OB.2217: (ACTIVE-GOAL obj (ENTERTAINMENT...)......)} in #{CX.6: (CX)}
  265. Assert #{OB.2217: (ACTIVE-GOAL obj (ENTERTAINMENT...)......)} in CX.6
  266. ==================================================
  267.  I want to be entertained.
  268. ==================================================
  269. Add dependency from #{OB.2219: (POS-EMOTION strength 0.6)} to #{OB.2217: (ACTIVE-GOAL obj (ENTERTAINMENT...)......)} in #{CX.6: (CX)}
  270. Assert #{OB.2220: (DEPENDENCY linked-from (POS-EMOTION...)......)} in CX.6
  271. Assert #{OB.2219: (POS-EMOTION strength 0.6)} in CX.6
  272. ==================================================
  273.  I feel interested in being entertained.
  274. ==================================================
  275. Personal goal concern OB.2217: ENTERTAINMENT motiv 0.6 status RUNABLE
  276. Personal goal concern OB.2212: LOVERS motiv 0.9 status HALTED
  277. Running emotion-driven control loop...
  278. :Switching to new top-level goal #{OB.2217: (ACTIVE-GOAL obj (ENTERTAINMENT...)......)}
  279. ----------------------CX.6--------------------
  280. Running rules for #{OB.2217: (ACTIVE-GOAL obj (ENTERTAINMENT...)......)}
  281. setting last sprout concept = #{OB.2212: (ACTIVE-GOAL obj (LOVERS actor ......)......)} in #{CX.5: (CX)}
  282. Run inferences in #{CX.6: (CX)}, bp = (#{ME: (FEMALE-PERSON first-name "Sarah"......)})
  283. Running p-goals in #{CX.6: (CX)}
  284. Running plans in #{CX.6: (CX)} for #{OB.2217: (ACTIVE-GOAL obj (ENTERTAINMENT...)......)} bp (#{ME: (FEMALE-PERSON first-name "Sarah"......)})
  285. Run plan for #{OB.2217: (ACTIVE-GOAL obj (ENTERTAINMENT...)......)} in #{CX.6: (CX)}
  286. Try fact plans
  287. Try rules and episodes
  288. Find candidate rules for obj #{OB.2218: (ENTERTAINMENT strength (UPROC...)......)} in #{CX.6: (CX)}
  289. Order candidates ((#{ENTERTAINMENT-PLAN1: (RULE subgoal (M-MOVIE actor ......)......)}
  290.                    (T (SELF #{ME: (FEMALE-PERSON first-name "Sarah"......)}))))
  291. Run generic plan #{ENTERTAINMENT-PLAN1: (RULE subgoal (M-MOVIE actor ......)......)} for #{OB.2217: (ACTIVE-GOAL obj (ENTERTAINMENT...)......)} in #{CX.6: (CX)}
  292. #{CX.6: (CX)} --> #{CX.7: (CX)}
  293. Debugging being delayed for broadcast at a later time.
  294. ENTERTAINMENT-PLAN1 Debugging resumed.
  295. Pruning possibilities from (#{CX.7: (CX)})
  296. :----------------------CX.7--------------------
  297. Running rules for #{OB.2217: (ACTIVE-GOAL obj (ENTERTAINMENT...)......)}
  298. setting last sprout concept = #{OB.2229: (ACTIVE-GOAL obj (M-MOVIE actor ......)......)} in #{CX.6: (CX)}
  299. Broadcasting delayed debugs.
  300. ******************
  301. ENTERTAINMENT-PLAN1 fired as plan
  302. for #{OB.2217: (ACTIVE-GOAL obj (ENTERTAINMENT...)......)}
  303. in CX.6 sprouting CX.7
  304. -------------------------------------------------------
  305. IF   ACTIVE-GOAL for ENTERTAINMENT
  306. THEN ACTIVE-GOAL for M-MOVIE with self
  307. -------------------------------------------------------
  308.  
  309. ?SELF = #{ME: (FEMALE-PERSON first-name "Sarah"......)}
  310. Assert #{OB.2227: (ORDERING)} in CX.7
  311. Instantiate and activate subgoals
  312. Activate subgoal for #{OB.2217: (ACTIVE-GOAL obj (ENTERTAINMENT...)......)} obj #{OB.2228: (M-MOVIE actor ME)} in #{CX.7: (CX)}
  313. Assert #{OB.2230: (INTENDS linked-from (ACTIVE-GOAL...)......)} in CX.7
  314. Assert #{OB.2229: (ACTIVE-GOAL obj (M-MOVIE actor ......)......)} in CX.7
  315. ==================================================
  316.  I have to go see a movie.
  317. ==================================================
  318. End of delayed broadcast.
  319. Run inferences in #{CX.7: (CX)}, bp = (#{ME: (FEMALE-PERSON first-name "Sarah"......)})
  320. Running p-goals in #{CX.7: (CX)}
  321. Running plans in #{CX.7: (CX)} for #{OB.2217: (ACTIVE-GOAL obj (ENTERTAINMENT...)......)} bp (#{ME: (FEMALE-PERSON first-name "Sarah"......)})
  322. Run plan for #{OB.2229: (ACTIVE-GOAL obj (M-MOVIE actor ......)......)} in #{CX.7: (CX)}
  323. Try fact plans
  324. Try rules and episodes
  325. Find candidate rules for obj #{OB.2228: (M-MOVIE actor ME)} in #{CX.7: (CX)}
  326. Order candidates ((#{M-MOVIE-ALONE-PLAN: (RULE subgoal (RSEQ obj (AT...) ......)......)}
  327.                    (#{OB.393: (AT actor ME obj HOME)}
  328.                     (LOCATION1 #{HOME: (LOCATION name "home")})
  329.                     (SELF #{ME: (FEMALE-PERSON first-name "Sarah"......)}))))
  330. Run generic plan #{M-MOVIE-ALONE-PLAN: (RULE subgoal (RSEQ obj (AT...) ......)......)} for #{OB.2229: (ACTIVE-GOAL obj (M-MOVIE actor ......)......)} in #{CX.7: (CX)}
  331. #{CX.7: (CX)} --> #{CX.8: (CX)}
  332. Debugging being delayed for broadcast at a later time.
  333. M-MOVIE-ALONE-PLAN Debugging resumed.
  334. Pruning possibilities from (#{CX.8: (CX)})
  335. :----------------------CX.8--------------------
  336. Running rules for #{OB.2217: (ACTIVE-GOAL obj (ENTERTAINMENT...)......)}
  337. setting last sprout concept = #{OB.2243: (ACTIVE-GOAL obj (MTRANS actor ......)......)} in #{CX.7: (CX)}
  338. Broadcasting delayed debugs.
  339. ******************
  340. M-MOVIE-ALONE-PLAN fired as plan
  341. for #{OB.2229: (ACTIVE-GOAL obj (M-MOVIE actor ......)......)}
  342. in CX.7 sprouting CX.8
  343. -------------------------------------------------------
  344. IF   ACTIVE-GOAL for M-MOVIE with self
  345. THEN ACTIVE-GOAL to PTRANS to theater and
  346.      ACTIVE-GOAL to MTRANS MOVIE from theater
  347.      to self and
  348.      ACTIVE-GOAL to PTRANS back to original location
  349. -------------------------------------------------------
  350.  
  351. ?LOCATION1 = #{HOME: (LOCATION name "home")}
  352. ?SELF = #{ME: (FEMALE-PERSON first-name "Sarah"......)}
  353. Retract OB.2227 in CX.8
  354. Assert #{OB.2234: (ORDERING)} in CX.8
  355. Instantiate and activate subgoals
  356. Activate subgoal for #{OB.2229: (ACTIVE-GOAL obj (M-MOVIE actor ......)......)} obj #{OB.2235: (AT actor ?THEATER obj ?LOCATION2......)} in #{CX.8: (CX)}
  357. Assert #{OB.2237: (INTENDS linked-from (ACTIVE-GOAL...)......)} in CX.8
  358. Assert #{OB.2236: (ACTIVE-GOAL obj (AT actor ......) top-level-goal ......)} in CX.8
  359. Activate subgoal for #{OB.2229: (ACTIVE-GOAL obj (M-MOVIE actor ......)......)} obj #{OB.2238: (PTRANS actor ME from HOME to ......)} in #{CX.8: (CX)}
  360. Assert #{OB.2240: (INTENDS linked-from (ACTIVE-GOAL...)......)} in CX.8
  361. Assert #{OB.2239: (ACTIVE-GOAL obj (PTRANS actor ......)......)} in CX.8
  362. Activate subgoal for #{OB.2229: (ACTIVE-GOAL obj (M-MOVIE actor ......)......)} obj #{OB.2241: (MTRANS actor ME from ?THEATER......)} in #{CX.8: (CX)}
  363. Assert #{OB.2244: (INTENDS linked-from (ACTIVE-GOAL...)......)} in CX.8
  364. Assert #{OB.2243: (ACTIVE-GOAL obj (MTRANS actor ......)......)} in CX.8
  365. ==================================================
  366.  I have to watch a movie.
  367. ==================================================
  368. Activate subgoal for #{OB.2229: (ACTIVE-GOAL obj (M-MOVIE actor ......)......)} obj #{OB.2245: (PTRANS actor ME from ?LOCATION2......)} in #{CX.8: (CX)}
  369. Assert #{OB.2247: (INTENDS linked-from (ACTIVE-GOAL...)......)} in CX.8
  370. Assert #{OB.2246: (ACTIVE-GOAL obj (PTRANS actor ......)......)} in CX.8
  371. End of delayed broadcast.
  372. Run inferences in #{CX.8: (CX)}, bp = (#{ME: (FEMALE-PERSON first-name "Sarah"......)})
  373. Running p-goals in #{CX.8: (CX)}
  374. Running plans in #{CX.8: (CX)} for #{OB.2217: (ACTIVE-GOAL obj (ENTERTAINMENT...)......)} bp (#{ME: (FEMALE-PERSON first-name "Sarah"......)})
  375. Run plan for #{OB.2236: (ACTIVE-GOAL obj (AT actor ......) top-level-goal ......)} in #{CX.8: (CX)}
  376. Try fact plans
  377. #{CX.8: (CX)} --> #{CX.9: (CX)}
  378. Debugging being delayed for broadcast at a later time.
  379. Debugging resumed.
  380. Pruning possibilities from (#{CX.9: (CX)})
  381. :----------------------CX.9--------------------
  382. Running rules for #{OB.2217: (ACTIVE-GOAL obj (ENTERTAINMENT...)......)}
  383. setting last sprout concept = NIL in #{CX.8: (CX)}
  384. Broadcasting delayed debugs.
  385. Retract OB.2234 in CX.9
  386. Assert #{OB.2251: (ORDERING)} in CX.9
  387. Fact plan #{OB.290: (AT actor NUART-THEATER obj ......)} found
  388. (AT actor NUART-THEATER obj ......)
  389. ?LOCATION2 = #{NUART-LOCATION: (LOCATION name "the Nuart")}
  390. ?THEATER = #{NUART-THEATER: (THEATER name "the Nuart")}
  391. ******************
  392. Goal #{OB.2236: (ACTIVE-GOAL obj (AT actor ......) top-level-goal ......)} succeeds in #{CX.9: (CX)}
  393. Instantiating plan for OB.2217: ENTERTAINMENT
  394. Retract OB.2246 in CX.9
  395. Assert #{OB.2252: (ACTIVE-GOAL obj (PTRANS actor ......)......)} in CX.9
  396. Retract OB.2247 in CX.9
  397. Assert #{OB.2254: (INTENDS linked-from (ACTIVE-GOAL...)......)} in CX.9
  398. Retract OB.2243 in CX.9
  399. Assert #{OB.2255: (ACTIVE-GOAL obj (MTRANS actor ......)......)} in CX.9
  400. Retract OB.2244 in CX.9
  401. Assert #{OB.2258: (INTENDS linked-from (ACTIVE-GOAL...)......)} in CX.9
  402. Retract OB.2239 in CX.9
  403. Assert #{OB.2259: (ACTIVE-GOAL obj (PTRANS actor ......)......)} in CX.9
  404. Retract OB.2240 in CX.9
  405. Assert #{OB.2261: (INTENDS linked-from (ACTIVE-GOAL...)......)} in CX.9
  406. Retract OB.2236 in CX.9
  407. Assert #{OB.2262: (ACTIVE-GOAL obj (AT actor ......))} in CX.9
  408. Retract OB.2237 in CX.9
  409. Assert #{OB.2264: (INTENDS linked-from (ACTIVE-GOAL...)......)} in CX.9
  410. Retract OB.2262 in CX.9
  411. Assert #{OB.2262: (SUCCEEDED-GOAL obj (AT actor ......)......)} in CX.9
  412. Assert #{OB.2265: (DEPENDENCY linked-from (AT...)......)} in CX.9
  413. End of delayed broadcast.
  414. Run inferences in #{CX.9: (CX)}, bp = (#{ME: (FEMALE-PERSON first-name "Sarah"......)})
  415. Running p-goals in #{CX.9: (CX)}
  416. Running plans in #{CX.9: (CX)} for #{OB.2217: (ACTIVE-GOAL obj (ENTERTAINMENT...)......)} bp (#{ME: (FEMALE-PERSON first-name "Sarah"......)})
  417. Run plan for #{OB.2259: (ACTIVE-GOAL obj (PTRANS actor ......)......)} in #{CX.9: (CX)}
  418. Try rules and episodes
  419. Find candidate rules for obj #{OB.2260: (PTRANS actor ME from HOME to ......)} in #{CX.9: (CX)}
  420. Order candidates ((#{PTRANS-PLAN: (RULE subgoal (KNOW actor ?PERSON......)......)}
  421.                    (T
  422.                     (FREE-OBJ #{ME: (FEMALE-PERSON first-name "Sarah"......)})
  423.                     (LOCATION2 #{NUART-LOCATION: (LOCATION name "the Nuart")})
  424.                     (LOCATION1 #{HOME: (LOCATION name "home")})
  425.                     (PERSON #{ME: (FEMALE-PERSON first-name "Sarah"......)})
  426.                     (SELF #{ME: (FEMALE-PERSON first-name "Sarah"......)}))))
  427. Run generic plan #{PTRANS-PLAN: (RULE subgoal (KNOW actor ?PERSON......)......)} for #{OB.2259: (ACTIVE-GOAL obj (PTRANS actor ......)......)} in #{CX.9: (CX)}
  428. #{CX.9: (CX)} --> #{CX.10: (CX)}
  429. Debugging being delayed for broadcast at a later time.
  430. PTRANS-PLAN Debugging resumed.
  431. Run plan for #{OB.2255: (ACTIVE-GOAL obj (MTRANS actor ......)......)} in #{CX.9: (CX)}
  432. Try rules and episodes
  433. Find candidate rules for obj #{OB.2256: (MTRANS actor ME from NUART-THEATER......)} in #{CX.9: (CX)}
  434. Order candidates ((#{MTRANS-MOVIE-PLAN: (RULE subgoal (RSEQ obj (AT...) ......)......)}
  435.                    (T (PHYS-OBJ #{NUART-THEATER: (THEATER name "the Nuart")})
  436.                     (SELF #{ME: (FEMALE-PERSON first-name "Sarah"......)}))))
  437. Run generic plan #{MTRANS-MOVIE-PLAN: (RULE subgoal (RSEQ obj (AT...) ......)......)} for #{OB.2255: (ACTIVE-GOAL obj (MTRANS actor ......)......)} in #{CX.9: (CX)}
  438. #{CX.9: (CX)} --> #{CX.11: (CX)}
  439. Debugging being delayed for broadcast at a later time.
  440. MTRANS-MOVIE-PLAN Debugging resumed.
  441. Run plan for #{OB.2252: (ACTIVE-GOAL obj (PTRANS actor ......)......)} in #{CX.9: (CX)}
  442. Try rules and episodes
  443. Find candidate rules for obj #{OB.2253: (PTRANS actor ME from NUART-LOCATION......)} in #{CX.9: (CX)}
  444. Order candidates ((#{PTRANS-PLAN: (RULE subgoal (KNOW actor ?PERSON......)......)}
  445.                    (T
  446.                     (FREE-OBJ #{ME: (FEMALE-PERSON first-name "Sarah"......)})
  447.                     (LOCATION2 #{HOME: (LOCATION name "home")})
  448.                     (LOCATION1 #{NUART-LOCATION: (LOCATION name "the Nuart")})
  449.                     (PERSON #{ME: (FEMALE-PERSON first-name "Sarah"......)})
  450.                     (SELF #{ME: (FEMALE-PERSON first-name "Sarah"......)}))))
  451. Run generic plan #{PTRANS-PLAN: (RULE subgoal (KNOW actor ?PERSON......)......)} for #{OB.2252: (ACTIVE-GOAL obj (PTRANS actor ......)......)} in #{CX.9: (CX)}
  452. #{CX.9: (CX)} --> #{CX.12: (CX)}
  453. Debugging being delayed for broadcast at a later time.
  454. PTRANS-PLAN Debugging resumed.
  455. Pruning possibilities from (#{CX.12: (CX)} #{CX.11: (CX)} #{CX.10: (CX)})
  456. :----------------------CX.10--------------------
  457. Running rules for #{OB.2217: (ACTIVE-GOAL obj (ENTERTAINMENT...)......)}
  458. setting last sprout concept = NIL in #{CX.9: (CX)}
  459. Broadcasting delayed debugs.
  460. ******************
  461. PTRANS-PLAN fired as plan
  462. for #{OB.2259: (ACTIVE-GOAL obj (PTRANS actor ......)......)}
  463. in CX.9 sprouting CX.10
  464. -------------------------------------------------------
  465. IF   ACTIVE-GOAL for person to PTRANS to location
  466. THEN ACTIVE-GOAL for person to KNOW location
  467. -------------------------------------------------------
  468.  
  469. ?FREE-OBJ = #{ME: (FEMALE-PERSON first-name "Sarah"......)}
  470. ?LOCATION2 = #{NUART-LOCATION: (LOCATION name "the Nuart")}
  471. ?LOCATION1 = #{HOME: (LOCATION name "home")}
  472. ?PERSON = #{ME: (FEMALE-PERSON first-name "Sarah"......)}
  473. ?SELF = #{ME: (FEMALE-PERSON first-name "Sarah"......)}
  474. Retract OB.2251 in CX.10
  475. Assert #{OB.2269: (ORDERING)} in CX.10
  476. Instantiate and activate subgoals
  477. Activate subgoal for #{OB.2259: (ACTIVE-GOAL obj (PTRANS actor ......)......)} obj #{OB.2270: (KNOW actor ME obj NUART-LOCATION......)} in #{CX.10: (CX)}
  478. Assert #{OB.2272: (INTENDS linked-from (ACTIVE-GOAL...)......)} in CX.10
  479. Assert #{OB.2271: (ACTIVE-GOAL obj (KNOW actor ......)......)} in CX.10
  480. End of delayed broadcast.
  481. ******************
  482. Goal #{OB.2271: (ACTIVE-GOAL obj (KNOW actor ......)......)} succeeds in #{CX.10: (CX)}
  483. Retract OB.2271 in CX.10
  484. Assert #{OB.2286: (ACTIVE-GOAL obj (KNOW actor ......)......)} in CX.10
  485. Retract OB.2272 in CX.10
  486. Assert #{OB.2288: (INTENDS linked-from (ACTIVE-GOAL...)......)} in CX.10
  487. Retract OB.2286 in CX.10
  488. Assert #{OB.2286: (SUCCEEDED-GOAL obj (KNOW actor ......)......)} in CX.10
  489. Assert #{OB.2289: (DEPENDENCY linked-from (KNOW...)......)} in CX.10
  490. Subgoals of #{OB.2259: (ACTIVE-GOAL obj (PTRANS actor ......)......)} completed
  491. About to perform real action but not in performance mode
  492. Change status of OB.2217: ENTERTAINMENT to WAITINGRun inferences in #{CX.10: (CX)}, bp = (#{ME: (FEMALE-PERSON first-name "Sarah"......)})
  493. :Taking optional object or concept input
  494. Enter concepts in #{CX.6: (CX)}
  495. Parser>
  496. End of parser input
  497. No more goals to run; switching to performance mode
  498. Change status of OB.2217: ENTERTAINMENT to RUNABLEState changes from DAYDREAMING to PERFORMANCE
  499. :----------------------CX.10--------------------
  500. Running rules for #{OB.2217: (ACTIVE-GOAL obj (ENTERTAINMENT...)......)}
  501. setting last sprout concept = NIL in #{CX.9: (CX)}
  502. Subgoals of #{OB.2259: (ACTIVE-GOAL obj (PTRANS actor ......)......)} completed
  503. Perform external action
  504. Perform action goal #{OB.2259: (ACTIVE-GOAL obj (PTRANS actor ......)......)} in #{CX.10: (CX)}
  505. ******************
  506. Goal #{OB.2259: (ACTIVE-GOAL obj (PTRANS actor ......)......)} succeeds in #{CX.10: (CX)}
  507. Retract OB.2259 in CX.10
  508. Assert #{OB.2292: (ACTIVE-GOAL obj (PTRANS actor ......)......)} in CX.10
  509. Retract OB.2288 in CX.10
  510. Assert #{OB.2296: (INTENDS linked-from (ACTIVE-GOAL...)......)} in CX.10
  511. Retract OB.2261 in CX.10
  512. Assert #{OB.2297: (INTENDS linked-from (ACTIVE-GOAL...)......)} in CX.10
  513. Retract OB.2292 in CX.10
  514. Assert #{OB.2292: (SUCCEEDED-GOAL obj (PTRANS...)......)} in CX.10
  515. An error occurred during initialization:
  516. The function INITIAL is undefined..
  517. root@ubuntu:/opt/PrologMUD/daydreamer3.5#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement