Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enablers problems with resources #2

Open
icosac opened this issue Jul 19, 2024 · 0 comments
Open

Enablers problems with resources #2

icosac opened this issue Jul 19, 2024 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed

Comments

@icosac
Copy link
Collaborator

icosac commented Jul 19, 2024

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 agent a1 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:

P=gripping(a1, _), del(P)=del(gripping(a1, b1).

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.

@icosac icosac added bug Something isn't working enhancement New feature or request help wanted Extra attention is needed labels Jul 19, 2024
@icosac icosac self-assigned this Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant