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 条