弹性退化字符串比较
Elastic-Degenerate String Comparison
AI总结:
本文研究弹性退化字符串交集(EDSI)问题,证明了其不存在亚二次或组合亚平方算法的复杂度下界,并提出了通用及一元情况下的高效求解算法。
摘要:
弹性退化(ED)字符串 $T$ 是一个由 $n$ 个集合 $T[1],\ldots,T[n]$ 组成的序列,共包含 $m$ 个字符串,其累积长度为 $N$。我们分别称 $n$、$m$ 和 $N$ 为 $T$ 的长度、基数和大小。$T$ 的语言定义为 $L(T)=\{S_1 \cdots S_n\\,:\\,S_i \in T[i]$ 对所有 $i\in[1,n]\}$。引入 ED 字符串是为了表示一组密切相关的 DNA 序列,也称为泛基因组(pangenome)。我们在此研究的基本问题是:给定两个 ED 字符串,我们能多快地检查它们所代表的两种语言是否具有非空交集?我们将底层问题称为 ED 字符串交集(EDSI)问题。对于长度分别为 $n_1$ 和 $n_2$、基数分别为 $m_1$ 和 $m_2$、大小分别为 $N_1$ 和 $N_2$ 的两个 ED 字符串 $T_1$ 和 $T_2$,我们得出以下结论:\n - 除非强指数时间假设不成立,否则即使 $T_1$ 和 $T_2$ 基于二元字母表,对于任意常数 $ε>0$,EDSI 也不存在 $O((N_1N_2)^{1-ε})$ 时间的算法。\n - 除非布尔矩阵乘法猜想不成立,否则即使 $T_1$ 和 $T_2$ 基于二元字母表,对于任意常数 $ε>0$ 和任意函数 $f$,EDSI 也不存在组合的 $O((N_1+N_2)^{1.2-ε}f(n_1,n_2))$ 时间的算法。\n - 存在 $O(N_1\log N_1\log n_1+N_2\log N_2\log n_2)$ 时间的算法,用于输出两个一元 ED 字符串交集语言的紧凑(RLE)表示。在 $T_1$ 和 $T_2$ 以紧凑表示给出的情况下,我们证明该问题是 NP 完全的。\n - 存在 $O(N_1m_2+N_2m_1)$ 时间的 EDSI 算法。\n - 存在 $\tilde{O}(N_1^{ω-1}n_2+N_2^{ω-1}n_1)$ 时间的 EDSI 算法,其中 $ω$ 是矩阵乘法的指数;$\tilde{O}$ 表示法隐藏了输入大小中多对数级别的因子。
英文摘要:
An elastic-degenerate (ED) string $T$ is a sequence of $n$ sets $T[1],\ldots,T[n]$ containing $m$ strings in total whose cumulative length is $N$. We call $n$, $m$, and $N$ the length, the cardinality and the size of $T$, respectively. The language of $T$ is defined as $L(T)=\{S_1 \cdots S_n\,:\,S_i \in T[i]$ for all $i\in[1,n]\}$. ED strings have been introduced to represent a set of closely-related DNA sequences, also known as a pangenome. The basic question we investigate here is: Given two ED strings, how fast can we check whether the two languages they represent have a nonempty intersection? We call the underlying problem the ED String Intersection (EDSI) problem.For two ED strings $T_1$ and $T_2$ of lengths $n_1$ and $n_2$, cardinalities $m_1$ and $m_2$, and sizes $N_1$ and $N_2$, respectively, we show the following: - There is no $O((N_1N_2)^{1-ε})$-time algorithm, for any constant $ε>0$, for EDSI even when $T_1$ and $T_2$ are over a binary alphabet, unless the Strong Exponential-Time Hypothesis is false. - There is no combinatorial $O((N_1+N_2)^{1.2-ε}f(n_1,n_2))$-time algorithm, for any constant $ε>0$ and any function $f$, for EDSI even when $T_1$ and $T_2$ are over a binary alphabet, unless the Boolean Matrix Multiplication conjecture is false. - An $O(N_1\log N_1\log n_1+N_2\log N_2\log n_2)$-time algorithm for outputting a compact (RLE) representation of the intersection language of two unary ED strings. In the case when $T_1$ and $T_2$ are given in a compact representation, we show that the problem is NP-complete. - An $O(N_1m_2+N_2m_1)$-time algorithm for EDSI. - An $\tilde{O}(N_1^{ω-1}n_2+N_2^{ω-1}n_1)$-time algorithm for EDSI, where $ω$ is the exponent of matrix multiplication; the $\tilde{O}$ notation suppresses factors that are polylogarithmic in the input size.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。