Skip to content

Domain with conditional effects causes parser to fail to terminate #15

@rpgoldman

Description

@rpgoldman

Even with the -k flag to keep conditional effects instead of expanding them, a translation of the SHOP example Satellite domain, which features conditional effects, seems to cause the parser to run forever. Here's the prefix of the output, which shows that the parser is not trying the exponential encoding of conditional effects:

$ time pandaPIparser -k domain.hddl p01.hddl
pandaPIparser is configured as follows
  Colors in output: true
  Mode: parsing mode
  Parameter splitting: true
  Conditional effects: keep
  Disjunctive preconditions as HTN: false
  Replace goal with action: false
  Output: pandaPI format
TUUP sort_for_GroundStation1
TUUP sort_for_GroundStation2
TUUP sort_for_Phenomenon3
TUUP sort_for_Phenomenon4
TUUP sort_for_Phenomenon6
TUUP sort_for_Star0
TUUP sort_for_Star5
TUUP sort_for_image1
TUUP sort_for_spectrograph2
TUUP sort_for_thermograph0
TUUP sort_for_satellite0
TUUP sort_for_GroundStation1
TUUP sort_for_GroundStation2
TUUP sort_for_Phenomenon3
TUUP sort_for_Phenomenon4
TUUP sort_for_Phenomenon6
TUUP sort_for_Star0
TUUP sort_for_Star5

at this point, the parser appears to hang; I stopped it after 5 minutes on my M1 mac

The input data are in this gist

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions