An Ecient Term Representation for CHR Indexing

msra(2009)

引用 24|浏览10
暂无评分
摘要
The overhead of matching CHR's multi-headed rules is al- leviated by constraint store indexing. The attributed variable interface provides ecient means of indexing on logical variables. Current state- of-the-art indexing strategies for ground terms use hash tables. However, the hash tables incur considerable performance overhead, especially when frequently computing hash values for large terms. We propose a high-level approach which improves the eciency of ground term indexing. In this approach, we introduce a new data representa- tion for ground terms, inspired by attributed variables, that avoids the overhead of hash-table indexing. The experimental evaluation establishes the usefulness of our representation, but indicates a high cost of map- ping between this representation and Prolog's standard terms. Thus, we reuse previously implemented post-processing program transformations to compensate for this overhead. We compare our approach with the current state of the art, and give measurements of its eectiveness in the
更多
查看译文
关键词
attributed variables,indexing,term representation,program transforma- tion,k.u.leuven chr system. keywords: constraint handling rules,term
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要