在线性时间内寻找排列中的小模式
Finding small patterns in permutations in linear time
摘要:
给定两个排列$σ$和$π$,\textsc{Permutation Pattern}问题询问$σ$是否是$π$的子模式。我们证明了该问题可以在时间$2^{O(\ell^2\log \ell)}\cdot n$内求解,其中$\ell=|σ|$和$n=|π|$ .换句话说,这个问题是固定参数易处理的参数的大小的子模式被发现。我们引入了一种新的类型的分解排列和相应的宽度措施。我们提出了一个线性时间算法,无论是发现$σ$作为$π$的子模式,或发现$π$的分解,其宽度是由$|σ|$的功能有界的。然后,我们展示了如何解决的\textsc{Permutation Pattern}问题的线性时间,如果一个有界宽度分解的输入。
英文摘要:
Given two permutations $σ$ and $π$, the \textsc{Permutation Pattern} problem asks if $σ$ is a subpattern of $π$. We show that the problem can be solved in time $2^{O(\ell^2\log \ell)}\cdot n$, where $\ell=|σ|$ and $n=|π|$. In other words, the problem is fixed-parameter tractable parameterized by the size of the subpattern to be found. We introduce a novel type of decompositions for permutations and a corresponding width measure. We present a linear-time algorithm that either finds $σ$ as a subpattern of $π$, or finds a decomposition of $π$ whose width is bounded by a function of $|σ|$. Then we show how to solve the \textsc{Permutation Pattern} problem in linear time if a bounded-width decomposition is given in the input.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。