Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

:constants is not recognized in domain #8

Closed
Vir-Limerence opened this issue Jul 24, 2023 · 1 comment
Closed

:constants is not recognized in domain #8

Vir-Limerence opened this issue Jul 24, 2023 · 1 comment

Comments

@Vir-Limerence
Copy link

I have found that PDDL_Parser.rb cannot parse the ":constants" in the PDDL syntax, which is supported in most versions.

image

@Maumagnaguagno
Copy link
Owner

Yes, this PDDL Parser does not support constants, this is by design.
This is not a problem in this project as this is not a classical planner.
The PDDL Parser implemented here is minimal to support my research in translation between classical and hierarchical planning models.
Even if support is added to the parser, the PDDL Compiler would output everything as objects, as they are internally the same, which could be confusing to users.
I also find constants a code smell, usually a constant can be combined with related predicates/actions.

@Maumagnaguagno Maumagnaguagno closed this as not planned Won't fix, can't repro, duplicate, stale Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants