Compiling constraint handling rules into prolog with attributed variables

被引:0
|
作者
Holzbaur, C
Frühwirth, T
机构
[1] Univ Vienna, Dept Med Cybernet & Artificial Intelligence, A-1010 Vienna, Austria
[2] Univ Munich, Dept Comp Sci, D-80538 Munich, Germany
关键词
logic and constraint programming; implementation and compilation methods;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We introduce the most recent and advanced implementation of constraint handling rules (CHR) in a logic programming language, which improves both on previous implementations (in terms of completeness, flexibility and efficiency) and on the principles that should guide such a Prolog implementation consisting of a runtime system and a compiler. The runtime system utilizes attributed variables for the realization of the constraint store with efficient retrieval and update mechanisms. Rules describing the interactions between constraints are compiled into Prolog clauses by a multi-phase compiler, the core of which comprises a small number of compact code generating templates in the form of definite clause grammar rules.
引用
收藏
页码:117 / 133
页数:17
相关论文
共 50 条
  • [41] A linear-logic semantics for constraint handling rules
    Betz, H
    Frühwirth, T
    PRINCIPLES AND PRACTICE OF CONSTRAINT PROGRAMMING - CP 2005, PROCEEDINGS, 2005, 3709 : 137 - 151
  • [42] Understanding functional dependencies via constraint handling rules
    Sulzmann, Martin
    Duck, Gregory J.
    Peyton-Jones, Simon
    Stuckey, Peter J.
    JOURNAL OF FUNCTIONAL PROGRAMMING, 2007, 17 : 83 - 129
  • [43] Constraint handling rules with binders, patterns and generic quantification
    Serrano, Alejandro
    Hage, Jurriaan
    THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2017, 17 (5-6) : 992 - 1009
  • [44] Optimal union-find in Constraint Handling Rules
    Schrijvers, T
    Frühwirth, T
    THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2006, 6 : 213 - 224
  • [45] Expressive power of constraint handling rules extensions and fragments
    Mauro, Jacopo
    Bulletin of the European Association for Theoretical Computer Science, 2013, 111 : 168 - 194
  • [46] Implementation of Logical Retraction in Constraint Handling Rules with Justifications
    Fruehwirth, Thom
    DECLARATIVE PROGRAMMING AND KNOWLEDGE MANAGEMENT, DECLARE 2017, 2018, 10997 : 37 - 52
  • [47] A unified semantics for constraint handling rules in transaction logic
    Meister, Marc
    Djelloul, Khalil
    Robin, Jacques
    LOGIC PROGRAMMING AND NONMONOTONIC REASONING, PROCEEDINGS, 2007, 4483 : 201 - +
  • [48] EXPRESSIVE POWER OF CONSTRAINT HANDLING RULES EXTENSIONS AND FRAGMENTS
    Mauro, Jacopo
    BULLETIN OF THE EUROPEAN ASSOCIATION FOR THEORETICAL COMPUTER SCIENCE, 2013, (111): : 168 - 194
  • [49] (Co-)Inductive semantics for Constraint Handling Rules
    Haemmerle, Remy
    THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2011, 11 : 593 - 609
  • [50] Confluence Modulo Equivalence with Invariants in Constraint Handling Rules
    Gall, Daniel
    Fruehwirth, Thom
    FUNCTIONAL AND LOGIC PROGRAMMING, FLOPS 2018, 2018, 10818 : 116 - 131