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

Parsing plans with over 9994 steps fails with "Bad plan description!" #16

Open
FlorianPommerening opened this issue May 26, 2017 · 1 comment

Comments

@FlorianPommerening
Copy link

I tried to upload the attached plan (sas_plan.txt) to planning.domains problem 4275 (Towers of Hanoi with 15 disks and 3 pegs). The solution is 2^15-1 = 32767 steps long which seems to be a problem for the parser. I tried removing steps and found that the plan is rejected if it contains 9995 steps or more.

I suspect that this has to do with the stack depth of yacc, which is set to 10000 in pddl+.cpp and pddlplus.cpp. Since the grammar of plans is recursive, this means that long plans cannot be parsed.

@DerekLong101
Copy link
Contributor

DerekLong101 commented May 26, 2017 via email

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