Merge pull request #1786 from triska/tuples_in
FIXED: propagation for ground tuples
This commit is contained in:
@@ -4369,7 +4369,7 @@ tuple_domain([T|Ts], Relation0) -->
|
|||||||
tuple_domain(Ts, Relation1).
|
tuple_domain(Ts, Relation1).
|
||||||
|
|
||||||
tuple_freeze(Tuple, Relation) :-
|
tuple_freeze(Tuple, Relation) :-
|
||||||
( ground(Tuple) -> true
|
( ground(Tuple) -> memberchk(Tuple, Relation)
|
||||||
; put_attr(R, clpz_relation, Relation),
|
; put_attr(R, clpz_relation, Relation),
|
||||||
make_propagator(rel_tuple(R, Tuple), Prop),
|
make_propagator(rel_tuple(R, Tuple), Prop),
|
||||||
tuple_freeze_(Tuple, Prop)
|
tuple_freeze_(Tuple, Prop)
|
||||||
|
|||||||
Reference in New Issue
Block a user