This repository has been archived on 2023-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
plasp/tests/data/normalization/normalization-6-1.pddl

48 lines
890 B
Plaintext
Raw Normal View History

; tests derived predicates are correclty numbered
; variation 1: derived predicates both in domain and problem
(define (domain test-normalization)
(:predicates
(test-predicate-0))
; introduces derived predicates 1 and 2
(:action test-action-1
:parameters
(?x)
:precondition
(or
(test-predicate-0)
(and
(test-predicate-0)
(test-predicate-0)))
:effect
(test-predicate-0))
; introduces derived predicates 3 and 4
(:action test-action-1
:parameters
(?x)
:precondition
(or
(test-predicate-0)
(and
(test-predicate-0)
(test-predicate-0)))
:effect
(test-predicate-0)))
(define (problem test-normalization)
(:domain test-normalization)
(:objects a b c)
(:init
(test-predicate-0))
; introduces derived predicates 5 and 6
(:goal
(or
(test-predicate-0)
(and
(test-predicate-0)
(test-predicate-0)))))