Advertisement
Guest User

test ans

a guest
May 18th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (ops-search state3 '((at R A1)(on ball A4)) ops3 :world world4)
  2.  
  3. => #'testing/world4
  4. => #'testing/world3
  5. => #'testing/state3
  6. => #'testing/ops3
  7. =>
  8. {:state #{(holds R nil) (at R A1) (on ball A4)},
  9.  :path (#{(holds R nil) (at R A1)}
  10.         #{(holds R nil) (at R A2)}
  11.         #{(holds R nil) (at R B1)}
  12.         #{(holds R nil) (at R B2)}
  13.         #{(holds R nil) (at R B3)}
  14.         #{(holds R nil) (at R C1)}
  15.         #{(holds R nil) (at R C2)}
  16.         #{(holds R ball) (at R C2)}
  17.         #{(holds R ball) (at R C3)}
  18.         #{(holds R nil) (on ball B4) (at R C3)}
  19.         #{(holds R nil) (at R B4) (on ball B4)}
  20.         #{(holds R ball) (at R B4)}
  21.         #{(holds R ball) (at R B5)}
  22.         #{(holds R ball) (at R B6)}
  23.         #{(at R B6) (holds R nil) (on ball A3)}
  24.         #{(holds R nil) (on ball A3) (at R A3)}
  25.         #{(holds R ball) (at R A3)}
  26.         #{(holds R ball) (at R A4)}
  27.         #{(holds R nil) (at R A4) (on ball A4)}
  28.         #{(holds R nil) (at R A3) (on ball A4)}
  29.         #{(at R B6) (holds R nil) (on ball A4)}
  30.         #{(holds R nil) (on ball A4) (at R B5)}
  31.         #{(holds R nil) (at R B4) (on ball A4)}
  32.         #{(holds R nil) (on ball A4) (at R C3)}
  33.         #{(holds R nil) (on ball A4) (at R C2)}
  34.         #{(holds R nil) (at R C1) (on ball A4)}
  35.         #{(holds R nil) (at R B3) (on ball A4)}
  36.         #{(holds R nil) (on ball A4) (at R B2)}
  37.         #{(holds R nil) (at R B1) (on ball A4)}
  38.         #{(holds R nil) (at R A2) (on ball A4)}),
  39.  :cmds ([move A1 to A2]
  40.         [on R B1]
  41.         [move B1 to B2]
  42.         [move B2 to B3]
  43.         [on R C1]
  44.         [move C1 to C2]
  45.         [Pick-off ball from C2]
  46.         [move C2 to C3]
  47.         [drop-from ball to B4]
  48.         [climb-off from C3]
  49.         [Pick-off ball from B4]
  50.         [move B4 to B5]
  51.         [move B5 to B6]
  52.         [drop-from ball to A3]
  53.         [climb-off from B6]
  54.         [pickup ball from A3]
  55.         [move A3 to A4]
  56.         [drop ball at A4]
  57.         [move A4 to A3]
  58.         [on R B6]
  59.         [move B6 to B5]
  60.         [move B5 to B4]
  61.         [on R C3]
  62.         [move C3 to C2]
  63.         [move C2 to C1]
  64.         [climb-off from C1]
  65.         [move B3 to B2]
  66.         [move B2 to B1]
  67.         [climb-off from B1]
  68.         [move A2 to A1]),
  69.  :txt (((move from A1 to A2))
  70.        (climb on B1)
  71.        ((move from B1 to B2))
  72.        ((move from B2 to B3))
  73.        (climb on C1)
  74.        ((move from C1 to C2))
  75.        ((Pick off ball from C2))
  76.        ((move from C2 to C3))
  77.        ((Drop-from ball to B4))
  78.        (climb-off from C3)
  79.        ((Pick off ball from B4))
  80.        ((move from B4 to B5))
  81.        ((move from B5 to B6))
  82.        ((Drop-from ball to A3))
  83.        (climb-off from B6)
  84.        ((pickup ball at A3))
  85.        ((move from A3 to A4))
  86.        ((Drop ball at A4))
  87.        ((move from A4 to A3))
  88.        (climb on B6)
  89.        ((move from B6 to B5))
  90.        ((move from B5 to B4))
  91.        (climb on C3)
  92.        ((move from C3 to C2))
  93.        ((move from C2 to C1))
  94.        (climb-off from C1)
  95.        ((move from B3 to B2))
  96.        ((move from B2 to B1))
  97.        (climb-off from B1)
  98.        ((move from A2 to A1)))}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement