计算机科学 > 数据结构与算法
[提交于 2010年12月30日]
标题:A Searchable Compressed Edit-Sensitive Parsing
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Practical data structures for the edit-sensitive parsing (ESP) are proposed. Given a string S, its ESP tree is equivalent to a context-free grammar G generating just S, which is represented by a DAG. Using the succinct data structures for trees and permutations, G is decomposed to two LOUDS bit strings and single array in (1+\epsilon)n\log n+4n+o(n) bits for any 0<\epsilon <1 and the number n of variables in G. The time to count occurrences of P in S is in O(\frac{1}{\epsilon}(m\log n+occ_c(\log m\log u)), whereas m = |P|, u = |S|, and occ_c is the number of occurrences of a maximal common subtree in ESPs of P and S. The efficiency of the proposed index is evaluated by the experiments conducted on several benchmarks complying with the other compressed indexes.
提交历史
来自:Hiroshi Sakamoto[v1] 2010年12月30日 星期四 13:04:56 UTC