-
Hi, I'm experimenting with the
When I try a very simple 3 block problem, e.g.: (make-problem 'problem3 'blocks-normal
'((arm-empty)
(block b1)
(block b2)
(block b3)
(on-table b1) (on b2 b1)
(on-table b3)
)
'((achieve-goals ((on-table b2)
(on b1 b3))
))
) That results in: ((((ACHIEVE-GOALS ((ON-TABLE B2) (ON B1 B3)))
((ASSERT-GOALS ((ON-TABLE B2) (ON B1 B3)) NIL)
((ASSERT-GOALS ((ON B1 B3)) ((GOAL (ON-TABLE B2))))
((ASSERT-GOALS NIL ((GOAL (ON B1 B3)) (GOAL (ON-TABLE B2))))
(0 (!ASSERT ((GOAL (ON B1 B3)) (GOAL (ON-TABLE B2)))) 0))))
((FIND-NOMOVE) (0 (!ASSERT ((DONT-MOVE B3))) 1))))) with the final state: (DONT-MOVE B3)
(GOAL (ON B1 B3))
(GOAL (ON-TABLE B2))
(ON B2 B1)
(ON-TABLE B3)
(ON-TABLE B1)
(BLOCK B3)
(BLOCK B2)
(BLOCK B1)
(ARM-EMPTY)
(make-problem 'problem3 'blocks-normal
'((arm-empty)
(block b1)
(block b2)
(block b3)
(on-table b1) (on b2 b1)
(on-table b3)
)
'((achieve-goals ((on-table b2)
(on b1 b3)
(on b3 b1)
)
))
) Plan: ((((ACHIEVE-GOALS ((ON-TABLE B2) (ON B1 B3) (ON B3 B1)))
((ASSERT-GOALS ((ON-TABLE B2) (ON B1 B3) (ON B3 B1)) NIL)
((ASSERT-GOALS ((ON B1 B3) (ON B3 B1)) ((GOAL (ON-TABLE B2))))
((ASSERT-GOALS ((ON B3 B1)) ((GOAL (ON B1 B3)) (GOAL (ON-TABLE B2))))
((ASSERT-GOALS NIL
((GOAL (ON B3 B1)) (GOAL (ON B1 B3)) (GOAL (ON-TABLE B2))))
(0 (!ASSERT ((GOAL (ON B3 B1)) (GOAL (ON B1 B3)) (GOAL (ON-TABLE B2))))
0)))))))) State: (GOAL (ON B3 B1))
(GOAL (ON B1 B3))
(GOAL (ON-TABLE B2))
(ON B2 B1)
(ON-TABLE B3)
(ON-TABLE B1)
(BLOCK B3)
(BLOCK B2)
(BLOCK B1)
(ARM-EMPTY)
(make-problem 'problem3 'blocks-normal
'((arm-empty)
(block b1)
(block b2)
(block b3)
(on-table b1) (on b2 b1)
(on-table b3)
)
'((achieve-goals ((on-table b2)
(on b1 b3)
(dummy 1)
)
))
) Is this intended? Am I missing something? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
I will update |
Beta Was this translation helpful? Give feedback.
With respect to your first question, it looks like there is a combination of two problems:
verify-solution
task to the method forachieve-goals
, SHOP no longer claims to have a solution forproblem3
. Here's what I added: