Views and Iterators for Generic Constraint Implementations

Christian Schulte, Guido Tack.

[pdf | bibtex]

This paper introduces an architecture for generic constraint implementations based on variable views and range iterators. Views allow, for example, to scale, translate, and negate variables. The paper shows how to make constraint implementations generic and how to reuse a single generic implementation with different views for different constraints. Applications of views exemplify their usefulness and their potential for simplifying constraint implementations. We introduce domain operations compatible with views based on range iterators to access and modify entire variable domains.

In: Peter van Beek, editor, Eleventh International Conference on Principles and Practice of Constraint Programming, Sitges, Spain, volume 3709 of Lecture Notes in Computer Science, pages 817-821. Springer-Verlag, October, 2005. DOI 10.1007/11564751_71.

Copyright Springer-Verlag, the original publication is available at www.springerlink.com