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

一般 Run-Length 语法上的计数

Counting on General Run-Length Grammars

Gonzalo Navarro, Alejandro Pacheco

AI总结:

提出一种数据结构,能在与 grammar 大小成正比的空间内,于 O(m log^{2+ε} n) 时间内计算任意 run-length context-free grammar 压缩文本中模式的出现次数,解决了 Christiansen 等人的开放问题并增强了压缩数据计算能力。

摘要:

我们提出了一种数据结构,用于计算使用任意 run-length context-free grammar 压缩的文本中模式出现的次数。我们的结构使用与 grammar 大小成正比的空间,并在索引时选择任意常数 ε>0 的情况下,对于长度为 n 的文本中长度为 m 的模式,能在 O(m log^{2+ε} n) 时间内计算出现次数。这是对 Christiansen 等人 [ACM TALG 2020] 提出的开放问题的首个解决方案,增强了我们在压缩数据上的计算能力;我们给出了一个应用示例。

英文摘要:

We introduce a data structure for counting pattern occurrences in texts compressed with any run-length context-free grammar. Our structure uses space proportional to the grammar size and counts the occurrences of a pattern of length $m$ in a text of length $n$ in time \(O(m\log^{2+ε} n)\), for any constant \(ε> 0\) chosen at indexing time. This is the first solution to an open problem posed by Christiansen et al.~[ACM TALG 2020] and enhances our abilities for computation over compressed data; we give an example application.

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

↑