Define a COUNT constraint setting size{forall v in lvars | v = occval} = occVar assumes the occVar variable to be the last of the variables of the constraint: vars = [lvars | occVar] Arc Consistent algorithm with lvars = list of variables for which the occurrence of occval in their domain is constrained
@author Jean-Guillaume Fages
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.