Closed gfrances closed 4 years ago
This is an interesting transformation, which is possible to write but seldom supported by most planners action grounders. Does the LP grounder work with existential precs?
Should work (didn't check though), as long as the existential quantification is in prenex normal form, and not only should it work, it should be significantly more efficient, as e..g will reduce the amount of "ground action" LP atoms that are reachable (if only because the potential number of ground actions decreases). Very good point! An example of a domain with featuring this is the organic-synthesis
from the last IPC.
Maybe a quick test is in order.
This is implemented now, but I'll leave this open a few more days to see if I can test how this plays with the LP grounder.
We'd like to implement a Tarski transformation that takes any STRIPS / Functional STRIPS problem and, for those action schemas that contain parameters (variables) that appear only in the precondition of the schema, but not on the effects, projects this variables into an existentially quantified variable. To illustrate:
would become:
where the action schema has one parameter less.