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

一类用于压缩文本索引的新型字符串变换

A New Class of String Transformations for Compressed Text Indexing

Raffaele Giancarlo, Giovanni Manzini, Antonio Restivo, Giovanna Rosone, Marinella Sciortino

AI总结:

本文提出一类基于局部排序的新型字符串变换,证明其属于包含BWT、ABWT的上下文自适应字母表排序变换族,可用于构建r-index,还给出了线性时间寻找最小游程数BWT变体的算法。

摘要:

Burrows-Wheeler变换(BWT,巴罗斯-惠勒变换)约三十年前在数据压缩领域被提出,它是一种字符串变换,除了能够提升无记忆压缩器的性能外,还在高效自索引压缩数据结构的设计中发挥着基础性作用。长期以来,寻找其他具备BWT同样卓越特性的字符串变换一直是众多研究者面临的挑战。在已知的BWT变体中,最近被证明可有效替代BWT的唯一变换是交替BWT(ABWT,交替巴罗斯-惠勒变换),这是约十年前与林登词的推广相关联提出的另一种可逆字符串变换。本文中,我们提出了一整类新型字符串变换,称为基于局部排序的变换,它们具备BWT的所有诸多优点。我们证明这一新族是一类更广泛的、基于上下文自适应字母表排序的变换的特例,BWT和ABWT都包含在这类更广泛的变换中。尽管所有这类变换都支持模式搜索,但我们证明,在一般情况下,这类更广泛变换族中的变换进行逆变换和模式搜索可能需要二次时间。作为进一步的研究结果,我们证明基于局部排序的变换可用于构建最近提出的r-index(r索引),这使得它们也适用于高度重复的序列集合。在此背景下,我们研究了为给定字符串寻找使变换后字符串的游程数最小的BWT变体的问题,并提出了一种可在线性时间内解决该问题的算法。

英文摘要:

Introduced about thirty years ago in the field of Data Compression, the Burrows-Wheeler Transform (BWT) is a string transformation that, besides being a booster of the performance of memoryless compressors, plays a fundamental role in the design of efficient self-indexing compressed data structures. Finding other string transformations with the same remarkable properties of BWT has been a challenge for many researchers for a long time. Among the known BWT variants, the only one that has been recently shown to be a valid alternative to BWT is the Alternating BWT (ABWT), another invertible string transformation introduced about ten years ago in connection with a generalization of Lyndon words. In this paper, we introduce a whole class of new string transformations, called local orderings-based transformations, which have all the myriad virtues of BWT. We show that this new family is a special case of a much larger class of transformations, based on context adaptive alphabet orderings, that includes BWT and ABWT. Although all transformations support pattern search, we show that, in the general case, the transformations within our larger class may take quadratic time for inversion and pattern search. As a further result, we show that the local orderings-based transformations can be used for the construction of the recently introduced r-index, which makes them suitable also for highly repetitive collections. In this context, we consider the problem of finding, for a given string, the BWT variant that minimizes the number of runs in the transformed string, and we provide an algorithm solving this problem in linear time.

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

↑