Skip to content
Snippets Groups Projects
Commit 3a9f1f2b authored by Antonio Andriella's avatar Antonio Andriella
Browse files

Need to change the format and clean the code in the domain definition and

 check the code in the problem definition
parents
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
(DEFINE (PROBLEM STRIPS-GAMETEST)
(:DOMAIN GAME-STRIPS)
(:OBJECTS ROBOT HUMAN P1 P2 P3 P4 P5 L1 L2 L3 L4 L5 L6 L7 L8 L9 L10 HAND)
(:INIT
(SUGGESTEDMOVE P2 L3)
(SUGGESTEDMOVE P2 L1)
(SUGGESTEDMOVE P2 L2)
(verbalEngagement)
(verbalEngagement_2)
;FIRST STEP
; (demonstrationEngagement)
; (demonstrationEngagement_1)
; (demonstrationEngagement_2)
; (demonstrationEngagement_3)
; ;SECOND_STEP
; (USERMOVE_1 P1 L2)
; ;THIRD_STEP
; (SUGGESTEDMOVE P1 L2)
; (SUGGESTEDMOVE P1 L1)
; (SUGGESTEDMOVE P1 L3)
(PIECE P1)
(PIECE P2)
(PIECE P3)
(PIECE P4)
(PIECE P5)
(LOCATION L1)
(LOCATION L2)
(LOCATION L3)
(LOCATION L4)
(LOCATION L5)
(LOCATION L6)
(LOCATION L7)
(LOCATION L8)
(LOCATION L9)
(LOCATION L10)
(GRIPPER HAND)
(FREE_LOC L1)
(FREE_LOC L2)
(FREE_LOC L3)
(FREE_LOC L4)
(FREE_LOC L5)
(AGENT HUMAN)
(FREE HAND)
(AT P3 L7)
(AT P1 L8)
(AT P2 L9)
(AT P4 L10)
(AT P5 L6)
;;Predicate used for all the behaviour
(suggestAnswer)
(encourageUser)
(suggestSubset)
(sendTricks)
(performDemonstration)
(ALLOWEDMOVE P1 L1)
(ALLOWEDMOVE P2 L2)
(ALLOWEDMOVE P3 L3)
(ALLOWEDMOVE P4 L4)
(ALLOWEDMOVE P5 L5)
(checkMove_1)
(checkMove_2)
(checkMove_3)
)
(:GOAL(waitForUserMove_2))
;(:GOAL(DEBUG))
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment