我对 pddl 的理解有问题,我正在尝试制定一个宇宙飞船计划,只要船长和导航员在桥上,宇宙飞船就可以移动到一个区域。
这是我从域文件中操作的代码
(:action travel :parameters (?x ?y)
:precondition (and (REGION ?x) (REGION ?y) ; travel between regions
(at-region ?x) (at-bridge ?x) (at-bridge ?y))
:effect (and (at-region ?y)
(not (at-region ?x)))
)
当我尝试这个问题文件时
(:init (SUBMARINE submarine)
(ROOM bridge) (ROOM sickbay) ; 2 rooms - bridge and sickbay
(PERSONNEL captain) (PERSONNEL navigators)
(REGION regionempty) (REGION seaport)
(at-region seaport) (at-bridge captain) (at-bridge navigators)
)
(:goal (and (at-region regionempty))
)
我得到错误:ff:目标可以简化为 FALSE。没有计划能解决它