排列的网格化与模式匹配的难度
Griddings of permutations and hardness of pattern matching
摘要:
我们研究了称为排列模式匹配(PPM)的判定问题的复杂性。PPM的输入由一对排列$τ$("文本")和$π$("模式")组成,目标是确定$τ$是否包含$π$作为子排列。在一般输入下,PPM是NP完全的,这是Bose,Buss和Lubiw的结果。在本文中,我们专注于PPM的限制性实例,其中假设文本避免固定(小)模式$σ$;这种限制被称为Av($σ$)-PPM。先前已经证明,Av($σ$)-PPM对于任何大小至多为3的$σ$是多项式的,而对于任何包含长度为4的单调子序列的$σ$是NP-难的。在本文中,我们提出了一个新的硬度减少,使我们能够显示,在一个统一的方式,Av($σ$)-PPM是很难为每个$σ$的大小至少为6,为每个$σ$的大小为5除了对称类的$41352$,以及为每个$σ$对称的三个排列之一$4321$,$4312$和$4231$。此外,假设指数时间假设,Av($σ$)-PPM的这些困难情况中没有一个可以在时间$2^{o(n/\log n)}$中求解。以前,这样的条件下界是不知道的,即使是无约束PPM问题。在易处理性方面,我们将Guillemot和Marx的CSP方法与Huczynska和Vatter的结构结果相结合,证明了对于任何单调可网格置换类C,PPM是多项式的,当文本被限制为C的置换时。
英文摘要:
We study the complexity of the decision problem known as Permutation Pattern Matching, or PPM. The input of PPM consists of a pair of permutations $τ$ (the `text') and $π$ (the `pattern'), and the goal is to decide whether $τ$ contains $π$ as a subpermutation. On general inputs, PPM is known to be NP-complete by a result of Bose, Buss and Lubiw. In this paper, we focus on restricted instances of PPM where the text is assumed to avoid a fixed (small) pattern $σ$; this restriction is known as Av($σ$)-PPM. It has been previously shown that Av($σ$)-PPM is polynomial for any $σ$ of size at most 3, while it is NP-hard for any $σ$ containing a monotone subsequence of length four. In this paper, we present a new hardness reduction which allows us to show, in a uniform way, that Av($σ$)-PPM is hard for every $σ$ of size at least 6, for every $σ$ of size 5 except the symmetry class of $41352$, as well as for every $σ$ symmetric to one of the three permutations $4321$, $4312$ and $4231$. Moreover, assuming the exponential time hypothesis, none of these hard cases of Av($σ$)-PPM can be solved in time $2^{o(n/\log n)}$. Previously, such conditional lower bound was not known even for the unconstrained PPM problem. On the tractability side, we combine the CSP approach of Guillemot and Marx with the structural results of Huczynska and Vatter to show that for any monotone-griddable permutation class C, PPM is polynomial when the text is restricted to a permutation from C.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。