users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

constraints and OR


From: Johannes Middeke
Subject: constraints and OR
Date: Thu, 3 Jan 2002 17:32:33 +0100 (MET)

hi,


can I, when using FDs, tell prolog to apply either one constraint or
another, but not both? (I would like to have two intervals [A,B] and
[C,D], where A,B,C,D are FD-variables and the intersection is the empty
set, so that C has to be greater than B XOR lesser than A.)


thanx ^^.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]