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

近实时解决方案用于在线字符串问题

Near-real-time Solutions for Online String Problems

University of Yamanashi(山梨大学);LIGM, CNRS and Gustave Eiffel University(信息学与机器学习实验室,法国国家科学研究中心和巴黎-塞纳河大学)

Dominik Köppl, Gregory Kucherov

AI总结:

本文提出了一种近实时算法,用于高效解决在线字符串问题,如最长重复后缀数组、Lempel-Ziv因子化和最小唯一子串维护,通过多项式对数对数时间复杂度实现。

摘要:

基于Breslauer-Italiano在线后缀树构造算法(2013年)所提供的双对数最坏情况更新时间保证,我们为几个经典的字符串问题开发了近实时算法,包括最长重复后缀数组的计算、(反转的)Lempel-Ziv 77因子化以及最小唯一子串的维护,所有这些都在在线模式下进行。我们的解决方案在最坏情况下的每个字符运行时间上优于这些问题目前的最佳运行时间,我们实现了多项式对数对数时间复杂度,仅占用线性空间。目前已知的最佳结果对于这些问题要求每个字符的多项式对数时间复杂度或仅提供均摊复杂度界限。作为独立兴趣的结果,我们给出了最长前缀因子数组和最长重复后缀数组之间的转换,基于它们的不可约表示形式,在空间和时间界限上实现了转换,这种表示形式的大小可以是输入字符串长度的次线性。

英文摘要:

Based on the Breslauer-Italiano online suffix tree construction algorithm (2013) with double logarithmic worst-case guarantees on the update time per letter, we develop near-real-time algorithms for several classical problems on strings, including the computation of the longest repeating suffix array, the (reversed) Lempel-Ziv 77 factorization, and the maintenance of minimal unique substrings, all in an online manner. Our solutions improve over the best known running times for these problems in terms of the worst-case time per letter, for which we achieve a poly-log-logarithmic time complexity, within a linear space. Best known results for these problems require a poly-logarithmic time complexity per letter or only provide amortized complexity bounds. As a result of independent interest, we give conversions between the longest previous factor array and the longest repeating suffix array in space and time bounds based on their irreducible representations, which can have sizes sublinear in the length of the input string.

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

↑