Enablers problems with resources #2
Labels
bug
Something isn't working
enhancement
New feature or request
help wanted
Extra attention is needed
When checking if an action ai is an enabler of an action aj, with t(ai)<t(aj), we must ensure not only that the predicates match, but also that they are fully grounded.
Consider the action ai=
grip_end(a1, b1)
, which deletes a predicate that must not be present for an action aj=move_arm(a1, 1, 1, 1, 0, 0, 0)
, e.g.,gripping(a1, _)
. The predicate is not fully grounded as we do not care which block the agenta1
is gripping, but we must make sure that it is not gripping any.The problem is that when checking for the predicates being added/deleted, we check by using Prolog:
but, this will always be true and the most important part is that while
a1
is part of the resources,b1
may not and it would make the actions be achievers of one another, even if they may not be when the two actions are actually carried out by two agents.Basically one would have to compare each argument with the other corresponding one and also make sure that they are grounded correctly.
The text was updated successfully, but these errors were encountered: