And convert to HPDL with ./pandaPIparser/pandaPIparser --hpdl test1_domain.hddl test1_problem.hddl test1_domain.hddl.hpdl test1_problem.hddl.hpdl, we obtain the following HPDL:
The goal (c) is impossible in the HDDL description, while the resulting HPDL relaxed the problem and made it solvable.
Now, Siadex does not support PDDL goals, one must be creative to support it.
I suggest to create a new primitive operator without parameters and add the goal description as precondition, making this the last ordered top-level task.
On a separate note, I would like to know why a method was created, it does not appear to be required by Siadex.
Oh, I discovered in the --help output the flag --goal-action that enables the behavior I was looking for, but never mentioned in the README.
I believe this should be enabled by default.
It appears that goals in the HDDL problem are ignored in the conversion to HPDL. If we consider the minimal HDDL planning instance below:
And convert to HPDL with
./pandaPIparser/pandaPIparser --hpdl test1_domain.hddl test1_problem.hddl test1_domain.hddl.hpdl test1_problem.hddl.hpdl
, we obtain the following HPDL:The goal
(c)
is impossible in the HDDL description, while the resulting HPDL relaxed the problem and made it solvable. Now, Siadex does not support PDDL goals, one must be creative to support it. I suggest to create a new primitive operator without parameters and add the goal description as precondition, making this the last ordered top-level task.On a separate note, I would like to know why a method was created, it does not appear to be required by Siadex.