Projekter pr. år
Abstract
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.
Originalsprog | Engelsk |
---|---|
Tidsskrift | Theory and Practice of Logic Programming |
Vol/bind | 12 |
Udgave nummer | 4-5 |
Sider (fra-til) | 547-563 |
Antal sider | 16 |
ISSN | 1471-0684 |
DOI | |
Status | Udgivet - 1 jul. 2012 |
Projekter
- 1 Afsluttet
-
Logisk-statistisk modellering og analyse af biologiske sekvensdata
Christiansen, H. (Projektdeltager), Gallagher, J. P. (Projektdeltager), Skovgaard, O. (Projektdeltager), Pedersen, M. B. (Projektdeltager), Garrigues, C. (Projektdeltager), Jaeger, M. (Projektdeltager), Forsberg, R. (Projektdeltager), Steffensen, P. J. (Projektdeltager), Knudsen, T. (Projektdeltager), Knudsen, B. (Projektdeltager), Krogh, A. (Projektdeltager) & Sato, T. (Projektdeltager)
01/05/2007 → 31/12/2012
Projekter: Projekt › Forskning