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

一种快速的基于文法的自索引

A Faster Grammar-Based Self-Index

Travis Gagie, Paweł Gawrychowski, Juha Kärkkäinen, Yakov Nekrich, Simon J. Puglisi

摘要:

为了有效地存储和搜索基因组数据库,研究人员最近开始构建基于语法的压缩自索引。在本文中,我们展示了如何给定一个具有$r$规则的字符串(S [1].. n]),其LZ 77解析由$z$短语组成,我们可以在$\Oh{r + z \log \log n}$空间中存储$S$的自索引,使得给定模式(P [1. m]),我们可以在$\Oh{m^2 + \occ \log \log n}$时间中列出$S$中$P$的$\occ$出现次数。如果直线程序是平衡的,并且我们接受构建错误索引的小概率,那么我们可以将$\Oh{m^2}$项减少为$\Oh{m \log m}$。在最坏的情况下,所有以前的自索引都更大或更慢。

英文摘要:

To store and search genomic databases efficiently, researchers have recently started building compressed self-indexes based on grammars. In this paper we show how, given a straight-line program with $r$ rules for a string (S [1..n]) whose LZ77 parse consists of $z$ phrases, we can store a self-index for $S$ in $\Oh{r + z \log \log n}$ space such that, given a pattern (P [1..m]), we can list the $\occ$ occurrences of $P$ in $S$ in $\Oh{m^2 + \occ \log \log n}$ time. If the straight-line program is balanced and we accept a small probability of building a faulty index, then we can reduce the $\Oh{m^2}$ term to $\Oh{m \log m}$. All previous self-indexes are larger or slower in the worst case.

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

↑