Merge pull request #1943 from triska/dead_skeleton
FIXED: do not attach constraint if the propagator is already entailed and killed
This commit is contained in:
@@ -3784,8 +3784,11 @@ var_eq(V, N, #V #= N).
|
|||||||
% Match variables to created skeleton.
|
% Match variables to created skeleton.
|
||||||
|
|
||||||
skeleton(Vs, Vs-Prop) :-
|
skeleton(Vs, Vs-Prop) :-
|
||||||
maplist(prop_init(Prop), Vs),
|
( propagator_state(Prop, State), State == dead ->
|
||||||
trigger_once(Prop).
|
true
|
||||||
|
; maplist(prop_init(Prop), Vs),
|
||||||
|
trigger_once(Prop)
|
||||||
|
).
|
||||||
|
|
||||||
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
A drep is a user-accessible and visible domain representation. N,
|
A drep is a user-accessible and visible domain representation. N,
|
||||||
|
|||||||
Reference in New Issue
Block a user