Discovered that the problem with my latest test was that strictly less/more than were not being converted into BK (now fixed)
This commit is contained in:
parent
571815c571
commit
6d8c195c22
|
@ -99,6 +99,9 @@ addBK mp mp2 g nid n = fmap ((,) $ (map (Map.fromListWith (++)) $ productN $ con
|
|||
| op == A.Eq = [Equal lhs rhs]
|
||||
| op == A.LessEq = [LessThanOrEqual lhs rhs]
|
||||
| op == A.MoreEq = [LessThanOrEqual rhs lhs]
|
||||
| op == A.Less = [LessThanOrEqual (addOne lhs) rhs]
|
||||
| op == A.More = [LessThanOrEqual (addOne rhs) lhs]
|
||||
-- TODO add support for OR, and NOT-EQUAL
|
||||
g _ = []
|
||||
|
||||
conBK :: [[(Var, [BackgroundKnowledge])]]
|
||||
|
|
Loading…
Reference in New Issue
Block a user