[SOLVED] CS (define (domain travelling)

$25

File Name: CS_(define_(domain_travelling).zip
File Size: 282.6 KB

5/5 - (1 vote)

(define (domain travelling)
(:requirements :adl )

(:types
type1
subtype1 type2
;; Fill in additional types here
)

(:constants
;; You should not need to add any additional constants
Agent agent
)

(:predicates
(example-predicate ?x type1)
(example2 )

)

(:functions (f ?x type2 ))

(:action example
:parameters (?x type1 ?y subtype1)
:precondition (and
(example-predicate ?x)
(>= (f ?y) 4)
)
:effect (and
(not (example-predicate ?x))
(decrease (f ?y) 3)
)
)
)

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] CS (define (domain travelling)
$25