Revisiting the Cardinality Operator and Introducing the Cardinality-PathConstraint Family
- First Online:
- Cite this paper as:
- Beldiceanu N., Carlsson M. (2001) Revisiting the Cardinality Operator and Introducing the Cardinality-PathConstraint Family. In: Codognet P. (eds) Logic Programming. ICLP 2001. Lecture Notes in Computer Science, vol 2237. Springer, Berlin, Heidelberg
This paper revisits the classical cardinality operator introducing new propagation rules that operate on variables that occur in more than one constraint. It also introduces a restricted case of the cardinality operator which is characterized by a structure of sliding constraints on consecutive variables. We call it cardinality-path and take advantage of these restrictions in order to come up with more efficient propagation algorithms. From an application point of view the cardinality-path constraint allows to express a host of regulation constraints occurring in personnel planning problems. We have used the metaprogramming services of Prolog in order to implement the cardinality-path constraint within SICStus Prolog.
Unable to display preview. Download preview PDF.