forked from glaserL/viasp
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Literals are now added to the positive conditions in the transformer's visiting process, not later. This way, we know the context of the literals. Literals in the body of a rule are only added to the positive conditions if they are non-negated and do not occur inside an aggregate. In the reification step, nothing changes, but datatypes are fixed to work with the tuple of conditions and positive conditions. Mpve the transformation of intervals to a separate function, as it is needed at multiple places. Also, it is fixed to work for ShowTerm statements where the dependent needs to be wrapped in a Symbolic Atom and Literal first, before checking for intervals. Removing the visiting of body elements, as it is not necessary anymore. Contributes: #62
- Loading branch information
1 parent
eb770fe
commit 1d5464c
Showing
1 changed file
with
57 additions
and
69 deletions.
There are no files selected for viewing
This file contains 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