Abstract
We present in this paper a way to use the paradigm of Answer Set Programming (ASP) into the Constraint Handling Rules (CHR) paradigm. We present a translation of the ASP language to the Constraint Handling Rules language. The committed-choice principle of the CHR paradigm leads to choose the rule-oriented approach of answer set computation. Since CHR is a first-order logic programming paradigm, the initial grounding phase of most of the ASP solvers is not required. Our implementation compiles an ASP program to a CHR(Prolog) program or to a CHR(C++) program. Preliminary experiments of the latter present some interesting results on ASP programs with some large sets of facts. Since Constraint Handling Rules is a paradigm developed for the implementation of user-defined constraints, we show how some extensions of ASP may be easily implemented in CHR: we show this by example for the choice rule.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.