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

(加权)LCS的草图绘制、流处理和细粒度复杂性

Sketching, Streaming, and Fine-Grained Complexity of (Weighted) LCS

Karl Bringmann, Bhaskar Ray Chaudhury

摘要:

我们研究了小字母长度字符串的最长公共子序列问题(LCS)的草图和流算法$|Σ|$。对于判断字符串$x,y$的LCS长度是否至少为$L$的问题,我们得到了$\mathcal{O}(L^{|Σ| - 1} \log L)$的草图大小和流空间使用率。我们还证明了匹配的无条件下界。作为一个应用程序,我们研究了LCS的一个变体,其中每个字母符号都配备了一个权重,作为输入,任务是计算一个共同的子序列的最大总重量。使用我们的草图算法,我们得到了这个问题的$\mathcal{O}(\textrm{min}\{nm, n + m^{\lvert Σ\rvert}\})$时间算法,长度为$n,m$的字符串$x,y$,$n \ge m$。我们证明了最优的运行时间为低阶因素,假设强指数时间假设。

英文摘要:

We study sketching and streaming algorithms for the Longest Common Subsequence problem (LCS) on strings of small alphabet size $|Σ|$. For the problem of deciding whether the LCS of strings $x,y$ has length at least $L$, we obtain a sketch size and streaming space usage of $\mathcal{O}(L^{|Σ| - 1} \log L)$. We also prove matching unconditional lower bounds. As an application, we study a variant of LCS where each alphabet symbol is equipped with a weight that is given as input, and the task is to compute a common subsequence of maximum total weight. Using our sketching algorithm, we obtain an $\mathcal{O}(\textrm{min}\{nm, n + m^{\lvert Σ\rvert}\})$-time algorithm for this problem, on strings $x,y$ of length $n,m$, with $n \ge m$. We prove optimality of this running time up to lower order factors, assuming the Strong Exponential Time Hypothesis.

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

↑