Repository navigation
Parameter splitting: don't move method preconditions behind earlier subtasks - #36
Open
daniellutalo wants to merge 1 commit into
Open
daniellutalo wants to merge 1 commit into
daniellutalo wants to merge 1 commit into
Conversation
…ubtasks A variable joins a split group only if its ordered occurrences lie in the group whose position was checked. Before, a non-static literal of a method precondition could be moved into a sub-method ordered after other subtasks of the method, so the grounded model accepted plans the HDDL model rejects (Barman-BDI, partial order).
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
split_independent_parameterschecks that the chosen variable's orderedoccurrences form a contiguous group. It then adds every other variable whose
occurrences lie in that group's plan steps, without checking their ordered
occurrences. So a variable that also occurs in a non-static literal of the
method precondition can be added. That literal then moves into the new
sub-method, behind the subtasks ordered before the group. Under partial order,
sibling tasks can run between the method's start and the moved check, and the
grounded model accepts plans that violate the method precondition.
Example: IPC 2023 PO Barman-BDI, method
CleanFullShaker:(contains ?x_0 ?x_2)moves behindAchieveHolding. Onpfile03(groundedwith
-e),pandaPIengine --progression -H "rc2(ff;cost)" -g none --suboptimalreturns a plan that
pandaPIparser -vrejects. With this change it returns avalid plan.
Fix: a variable joins the group only if its ordered occurrences lie in the
group whose position was checked. Static literals can still move. On the
other ten IPC 2023 PO domains (two instances each), parser output is
unchanged.