arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1709.05314cs.DS
收藏

弦吸引子

String Attractors

Nicola Prezza

摘要:

令$S$为长度为$n$的字符串。在本文中,我们介绍了\emph{string attractor}的概念:字符串的位置$[1,n]$的一个子集,使每个不同的子串$S$有一个发生交叉的吸引子的元素之一。我们首先表明,最小吸引子的大小产生上限字符串的重复性,其语言的复杂性和最长的重复子串的长度来衡量。然后,我们证明了所有已知的压缩机重复字符串诱导字符串吸引子的大小是有界的相关的重复性措施,因此可以被认为是最小的一个近似。使用进一步的减少,我们得到这些压缩机的近似比相对于最小的吸引子和解决几个开放的问题有关的渐近关系之间的重复性措施(特别是,之间的大小的Lempel-Ziv分解,运行长度Burrows-Wheeler变换,最小的语法,最小的宏计划)。这些约简直接提供了最小弦吸引子的近似算法。然后,我们应用字符串吸引有效地解决了一个基本的问题,在压缩计算领域:我们提出了一个通用的压缩数据结构的文本提取,同时提高现有的策略为\emph{all}已知的字典压缩机,最近的下限,几乎匹配的最佳运行时间内产生的空间。最后,我们考虑广义字符串吸引标记图,吸引问题是NP-完全的树,并提供了一个对数近似计算多项式时间。

英文摘要:

Let $S$ be a string of length $n$. In this paper we introduce the notion of \emph{string attractor}: a subset of the string's positions $[1,n]$ such that every distinct substring of $S$ has an occurrence crossing one of the attractor's elements. We first show that the minimum attractor's size yields upper-bounds to the string's repetitiveness as measured by its linguistic complexity and by the length of its longest repeated substring. We then prove that all known compressors for repetitive strings induce a string attractor whose size is bounded by their associated repetitiveness measure, and can therefore be considered as approximations of the smallest one. Using further reductions, we derive the approximation ratios of these compressors with respect to the smallest attractor and solve several open problems related to the asymptotic relations between repetitiveness measures (in particular, between the the sizes of the Lempel-Ziv factorization, the run-length Burrows-Wheeler transform, the smallest grammar, and the smallest macro scheme). These reductions directly provide approximation algorithms for the smallest string attractor. We then apply string attractors to solve efficiently a fundamental problem in the field of compressed computation: we present a universal compressed data structure for text extraction that improves existing strategies simultaneously for \emph{all} known dictionary compressors and that, by recent lower bounds, almost matches the optimal running time within the resulting space. To conclude, we consider generalizations of string attractors to labeled graphs, show that the attractor problem is NP-complete on trees, and provide a logarithmic approximation computable in polynomial time.

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

↑