Menu

#15 Parse error in PDDL Domain examples

v1.0_(example)
accepted
None
5
2015-10-17
2015-10-11
Giuseppe Li
No

It seems when running any example problem with any key requirement other than :strips JavaGP will throw the error:

MacBook-Pro-di-Giuseppe:javagp-bin-1-2 Beppe$ java -jar javagp.jar -d examples/pddl/blocksworld/blocksworld.pddl -p examples/pddl/blocksworld/pb1.pddl
GRAVE: Parser error at line 2, column 24 file (blocksworld.pddl) : Require key ":equality" forbidden due to parser requirement options.
pddl4j.ParserException: Parse error in PDDL Domain
at graphplan.parser.PDDLPlannerAdapter.<init>(PDDLPlannerAdapter.java:106)
at graphplan.Graphplan.main(Graphplan.java:195)</init>

JavaGP will successfully find a plan in the case of Blocksworld without :equality. The same error applies to any other key, listing "Require key ":name-of-key" forbidden due to parser requirement options." for each key.

Best Regards

Discussion

  • Felipe Meneguzzi

    This is not necessarily a bug, since it is stopping the parser when you state that you need something the parser cannot do. The erro might have been in the PDDL, but before I close this bug, I want to make sure you agree with my interpretation.

     
  • Felipe Meneguzzi

    • status: unread --> pending
    • assigned_to: Felipe Meneguzzi
     
  • Felipe Meneguzzi

    I will try to work this problem tonight.

     
  • Felipe Meneguzzi

    • status: pending --> accepted
     

Log in to post a comment.

MongoDB Logo MongoDB