Extending arbitrary solvers with constraint handling rules
Abstract
Constraint Handling Rules (CHRs) are a high-level committed choice programming language commonly used to write constraint solvers. While the semantic basis of CHRs allows them to extend arbitrary underlying constraint solvers, in practice, all current implementations only extend Herbrand equation solvers. In this paper we show how to define CHR programs that extend arbitrary solvers and fully interact with them. In the process, we examine how to compile such programs to perform as little recomputation as possible, and describe how to build index structures for CHR constraints that are modified automatically when variables in the underlying solver change. We report on the implementation of these techniques in the HAL compiler, and give empirical results illustrating their benefits.
BibTeX
@inproceedings{duck2003extending,
author = {Gregory J. Duck and Peter J. Stuckey and Maria J. García de la Banda and Christian Holzbaur},
title = {{Extending arbitrary solvers with constraint handling rules}},
booktitle = {PPDP},
year = {2003},
doi = {10.1145/888251.888260},
}Ask Althea to put this paper to the test.
Loading related content...