please specify a simple pddl domain for a blocksworld.
- User
please specify a simple pddl domain for a blocksworld.
Assistant
Here is a simple PDDL domain for a blocksworld:
(define (domain blocksworld) (:requirements :typing) (:types block - object)
(:predicates (on ?b - block ?b2 - block) (clear ?b - block) (armfree)) (:action pick :parameters (?b - block) :precondition (and (clear ?b) (armfree)) :effect (and (not (clear ?b)) (not (armfree))))(:action stack :parameters (?b ?b2 - block) :precondition (and (on ?b2 ?b) (armfree)) :effect (and (not (armfree)) (not (on ?b2 ?b))))
(:action unstack :parameters (?b ?b2 - block) :precondition (and (on ?b ?b2) (armfree)) :effect (and (not (armfree))
(not (on ?b ?b2)) (on ?b2 ?b)
(clear ?b))))(:action putdown :parameters (?b - block) :precondition (and (holding ?b) (armfree))
:effect (and (clear ?b) (armfree)))) )
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.