Plan4Past icon indicating copy to clipboard operation
Plan4Past copied to clipboard

Generation of superfluous Y-atoms

Open LBonassi95 opened this issue 1 year ago • 0 comments

The function "predicates" of predicates visitor creates superfluous quoted "Y()" atoms.

for example, the compilation of formula "O(a & Y(O(b & Y(O(c)))))" should yield the atoms:

  • 'Y-Oa-and-YOb-and-YOc'
  • 'Y-Ob-and-YOc'
  • 'Y-Oc'

Instead, the function predicates(O(a & Y(O(b & Y(O(c)))))) returns:

  • 'Y-Oa-and-YOb-and-YOc'
  • 'Y-Ob-and-YOc'
  • 'Y-Oc'
  • 'YOc'
  • 'YOb-and-YOc'

This issue will be solved in the branch fix/pddl-predicates-collision

LBonassi95 avatar Feb 14 '24 12:02 LBonassi95