The all different and global cardinality constraints on set, multiset and tuple variables

  • Authors:
  • Claude-Guy Quimper;Toby Walsh

  • Affiliations:
  • School of Computer Science, University of Waterloo, Canada;NICTA and UNSW, Sydney, Australia

  • Venue:
  • CSCLP'05 Proceedings of the 2005 Joint ERCIM/CoLogNET international conference on Constraint Solving and Constraint Logic Programming
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

We describe how the propagator for the All-Different constraint can be generalized to prune variables whose domains are not just simple finite domains. We show, for example, how it can be used to propagate set variables, multiset variables and variables which represent tuples of values. We also describe how the propagator for the global cardinality constraint (which is a generalization of the All-Different constraint) can be generalized in a similar way. Experiments show that such propagators can be beneficial in practice, especially when the domains are large.