Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LOGIC-91:
predc
constraint entailment issues
The problem is that cgoal calls `runnable?`, runs the constraint, then calls `relevant?`, however when a constraint is already in the store we call `relevant?` *first*, because of other constraints may have done the work for us. Added `irelevant?` predicate. `cgoal` and the `run-constraint` now use this. Remove all `IRelevant` implementations that simply return `true`. The all different constraint will still exhibit the issue as FDConstraint implements `IRelevant` for delegation purporses. We should probably eliminate `FDConstraint` and implement some kind of templating facility to avoid the boilerplate.
- Loading branch information
1 parent
33ce790
commit 020f730
Showing
3 changed files
with
25 additions
and
15 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
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
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