panda-planner-dev / pandaPIparser

The parser of the pandaPI planning system
BSD 3-Clause "New" or "Revised" License
13 stars 10 forks source link

Spurious duplicate message processing domain file #13

Closed rpgoldman closed 1 year ago

rpgoldman commented 1 year ago

I was implementing the plan repair by rewriting algorithm and in the process created the attached domain file. It has the following task definitions (one from the original domain, and two from the plan repair algorithm):

 (:task move :parameters (?l1 ?l2 - location))
 (:task drive-2-prime :parameters (?l1 ?l2 - location))
 (:task drive-ta-3-prime :parameters (?l1 ?l2 - location))

When I run the pandaPIparser on this domain, I get this error:

$ pandaPIparser repair-domain.hddl repair-problem.hddl >translated.htn
Duplicate abstract task drive-2-prime
Duplicate abstract task drive-ta-3-prime

Indeed, there do appear to be duplicated abstract tasks in the output.

rpgoldman commented 1 year ago

This is not a valid report -- I made a mistake in how I read the paper describing the repair algorithm.