Unable to write HDDL files from Hierarchical problems #603
-
It is my understanding that we use the same PDDL writer for hierarchical problems as well?
How do I convert my hierarchical problem into domain and problem files? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Despite the different name, HDDL is de facto an extension of PDDL with HTN components. So any limitation of PDDL also applies to HDDL. So if you want to convert it to HDDL/PDDL, the problem needs to be specified in a compatible form. Notably, this means that it should not contain fluents that return a |
Beta Was this translation helpful? Give feedback.
-
Okay, as instructed, I converted the hierarchical planning problem to only have boolean fluents. While the writer can now convert it without throwing errors, it captured only the PDDL elements (actions, predicates), it seems to have lost all the methods I defined! Is this expected behavior? Ideally, I'd like the hddl file to retain the methods structure along with the PDDL elements. |
Beta Was this translation helpful? Give feedback.
-
HDDL support was only added recently (#577) and may not be in the released version yet. Have you tried using the latest version on master? |
Beta Was this translation helpful? Give feedback.
-
Yes, this seemed to do the trick. Thanks |
Beta Was this translation helpful? Give feedback.
HDDL support was only added recently (#577) and may not be in the released version yet. Have you tried using the latest version on master?