- changed status to resolved
Approximation cannot be used in recursive rules
Consider the following theory:
When grounding rules: all instances of rule bodies should be generated: for example the rule
!x: reachable(x) <- (?y: edge(x, y) & reachable(y)).
in a twovalued structure where reachable is always true, should be grounded! If not, this will result in unwanted models!
Comments (5)
-
reporter -
reporter bugfix in grounderfactory: approximation and recursion
I fixed a bug in the grounderfactory: We should always ground all rule bodies if they contain defined symbols OR (better) at least do not approximate them based on defined symbols Doing this might delete some recursivity. (which is dangerous)
Fixed this by making new makeTrue and makeFalse methods that remove all information based on defined symbols.
This fixes
#306→ <<cset 7dd0e94809a5>>
-
reporter bugfix in grounderfactory: approximation and recursion
I fixed a bug in the grounderfactory: We should always ground all rule bodies if they contain defined symbols OR (better) at least do not approximate them based on defined symbols Doing this might delete some recursivity. (which is dangerous)
Fixed this by making new makeTrue and makeFalse methods that remove all information based on defined symbols.
This fixes
#306→ <<cset 48d74040f73a>>
-
reporter bugfix in grounderfactory: approximation and recursion
I fixed a bug in the grounderfactory: We should always ground all rule bodies if they contain defined symbols OR (better) at least do not approximate them based on defined symbols Doing this might delete some recursivity. (which is dangerous)
Fixed this by making new makeTrue and makeFalse methods that remove all information based on defined symbols.
This fixes
#306→ <<cset 68ece6a08ec0>>
-
reporter bugfix in grounderfactory: approximation and recursion
I fixed a bug in the grounderfactory: We should always ground all rule bodies if they contain defined symbols OR (better) at least do not approximate them based on defined symbols Doing this might delete some recursivity. (which is dangerous)
Fixed this by making new makeTrue and makeFalse methods that remove all information based on defined symbols.
This fixes
#306→ <<cset 68ece6a08ec0>>
- Log in to comment
bugfix in grounderfactory: approximation and recursion
I fixed a bug in the grounderfactory: We should always ground all rule bodies if they contain defined symbols OR (better) at least do not approximate them based on defined symbols Doing this might delete some recursivity. (which is dangerous)
Fixed this by making new makeTrue and makeFalse methods that remove all information based on defined symbols.
This fixes
#306→ <<cset 03102f695347>>