arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1210.1611cs.PL
收藏

具有增强散列consing的结构化数据的高效表列

Efficient Tabling of Structured Data with Enhanced Hash-Consing

Neng-Fa Zhou, Christian Theil Have

摘要:

当前的制表系统在处理序列时由于将数据结构用于制表的子目标和答案以及需要将项复制到表区域中和从表区域复制项而遭受空间复杂度、时间复杂度或两者的增加。这种症状不仅可以在使用哈希表的B-Prolog中看到,而且可以在使用XSB和YAP等try的系统中看到。本文将散列consing应用于B-Prolog中结构化数据的制表。虽然散列consing可以减少空间消耗时,共享是有效的,它不会改变的时间复杂度。我们增强了哈希consing两种技术,称为输入共享和哈希码记忆,以减少时间复杂度,避免计算哈希码的某些条款。改进后的系统能够消除旧系统中用于处理序列的额外线性因素,从而显著增强了诸如语言解析和生物序列分析应用等应用的可扩展性。我们证实了这种改进与实验结果。

英文摘要:

Current tabling systems suffer from an increase in space complexity, time complexity or both when dealing with sequences due to the use of data structures for tabled subgoals and answers and the need to copy terms into and from the table area. This symptom can be seen in not only B-Prolog, which uses hash tables, but also systems that use tries such as XSB and YAP. In this paper, we apply hash-consing to tabling structured data in B-Prolog. While hash-consing can reduce the space consumption when sharing is effective, it does not change the time complexity. We enhance hash-consing with two techniques, called input sharing and hash code memoization, for reducing the time complexity by avoiding computing hash codes for certain terms. The improved system is able to eliminate the extra linear factor in the old system for processing sequences, thus significantly enhancing the scalability of applications such as language parsing and bio-sequence analysis applications. We confirm this improvement with experimental results.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑