Constraints transitivity inconsistencies in BinaryConstraintsManager.add_constraint
#3
Labels
bug
Need a fix
BinaryConstraintsManager.add_constraint
#3
Describe the bug
It is possible to add inconsistencies in the constraints manager.
To do it, add a new constraint (not already explicitly added) that is inconsistent with the constraints transitivity inference.
To Reproduce
Expected behavior
constraints_manager.add_constraint("0", "2", "CANNOT_LINK")
should returnFalse
(it's an inference conflict) ;print(constraints_manager._constraints_transitivity)
should display :System (please complete the following information):
Interactive Clustering
version: 0.2.1The text was updated successfully, but these errors were encountered: