Enabled test cases again by removing unsupported features from test files.

This commit is contained in:
2017-06-24 21:48:37 +02:00
parent 6e858ff52f
commit 6b1d079f69
4 changed files with 29 additions and 543 deletions

View File

@@ -9,43 +9,25 @@
(delivered ?o - order ?p - product)
(made ?p - product))
(:functions (total-cost)
(stacks-in-use)
(max-in-use)
(stack-cost) )
(:action open-new-stack
:parameters ()
:precondition (and)
:effect (and (increase (max-in-use) 1)
(increase (total-cost) (stack-cost)))
)
(:action start-order
:parameters (?o - order)
:precondition (and (waiting ?o)
(< (stacks-in-use) (max-in-use)))
:effect (and (not (waiting ?o))
(started ?o)
(increase (stacks-in-use) 1))
:precondition (waiting ?o)
)
(:action make-product
:parameters (?p - product)
:precondition (and (not (made ?p)))
:effect (and (made ?p)
(forall (?o - order)
(when (and (includes ?o ?p)
(started ?o))
(delivered ?o ?p))))
)
(:action ship-order
:parameters (?o - order)
:precondition (and (started ?o))
:effect (and (not (started ?o))
(shipped ?o)
(decrease (stacks-in-use) 1))
)
)