Skip to content

Commit

Permalink
size constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
rezan21 committed Jan 16, 2019
1 parent 70e92d9 commit c747ded
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions supermarket-domain.pddl
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,21 @@

)


(:durative-action pick
:parameters (?i - item ?a - agent ?l - location)
:duration (= ?duration 100)
:condition(and(over all(at ?a ?l)) (at start(at ?i ?l)) (at start <(capacity ?a) 2) (<(numberofcarrings ?a)(capacity ?a))
:duration (= ?duration 2)
:condition(and
(over all(at ?a ?l))
(at start(at ?i ?l))
(at start(< (numberofcarrings ?a)(capacity ?a)))
)
:effect(and (at start(not (at ?i ?l))) (at end(on ?i ?a)) (at end(increase (numberofcarrings ?a) 1)) )

:effect(and (at start(not (at ?i ?l))) (at end(on ?i ?a)) (at start(increase (numberofcarrings ?a) 1)) )
)

(:durative-action drop
:parameters (?i - item ?a - agent ?l - location)
:duration (= ?duration 100)
:duration (= ?duration 2)
:condition(and(over all(at ?a ?l)) (at start(on ?i ?a))
)
:effect(and (at start(not (on ?i ?a))) (at end(at ?i ?l)) (at end(decrease (numberofcarrings) 1)))
Expand All @@ -47,6 +50,11 @@

)

(:durative-action



)



Expand Down

0 comments on commit c747ded

Please sign in to comment.