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

使用采样高效计算周期和覆盖

Efficient Computation of Periods and Covers Using Sampling

Thierry Lecroq, Francesco Pio Marino

AI总结:

本文提出利用字符距离采样(CDS)技术,仅选首字符为枢轴,高效计算字符串的周期与最短覆盖,分别实现38%-43%和63%-72%的加速,展示了CDS在字符串分析中的潜力。

摘要:

识别字符串中的规律性,如周期和覆盖,对于文本压缩、计算生物学和模式识别等应用至关重要。字符距离采样(CDS)是一种高效技术,通过存储选定枢轴字符之间的距离来编码字符串,从而加速字符串处理任务。我们将CDS应用于计算周期和最短覆盖,仅选择第一个字符作为枢轴。该策略产生了优化计算,在周期计算方面实现了38%至43%的加速,在覆盖检测方面实现了63%至72%的加速。这些结果证明了基于CDS的表示在高效字符串分析及更广泛应用中的潜力。

英文摘要:

Identifying regularities in strings, such as \emph{periods} and \emph{covers}, is crucial for applications in text compression, computational biology, and pattern recognition. \emph{Characters-Distance-Sampling} (\texttt{CDS}) is an efficient technique that encodes a string by storing distances between selected pivot characters, accelerating string-processing tasks. We apply \texttt{CDS} to compute periods and shortest covers, selecting only the first character as the pivot. This strategy yields optimized computations, achieving speedups of $38\%$--$43\%$ for period computation and $63\%$--$72\%$ for cover detection. These results demonstrate the potential of \texttt{CDS}-based representations for efficient string analysis and broader applications.

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

↑