-
Notifications
You must be signed in to change notification settings - Fork 68
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
[BUG] Negative effects are grounded as positive #119
Comments
After enabling the logger, I can safely say that the problem is somewhere in the
There are no problems at the end of
Similarly, in
However, during
I will check if there's a bug in
After normalizing close_door, its effects are (not (15 0)).
|
I believe I have found the source of a bug:
Recall that close_door resembles this:
To test this assumption I have changed the domain definition to this, where negative effect is duplicated:
And the problem gets grounded properly |
As a solution I propose changing the block from this
to this
I will do some tests and if everything works out I will prepare a merge. |
Using PDDL4J from DEVEL branch. Latest build.
Given a definition of a close_door action like this:
a grounded action
(close_door flugzeug)
has(door_open flugzeug)
in its positive preconditions instead of negative.Domain (UM-Translog) and problem are attached below.
domainTranslog.txt
p02.txt
The text was updated successfully, but these errors were encountered: