arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2111.03479cs.CCcs.DM
收藏

长的路径使模式计数变得困难,深的树木使其更难

Long paths make pattern-counting hard, and deep trees make it harder

Vít Jelínek, Michal Opler, Jakub Pekárek

摘要:

我们研究了计数问题#PPM,它的输入是一对排列$π$和$τ$(分别称为模式和文本),任务是找出与$π$具有相同相对顺序的$τ$的顺序数.一个简单的蛮力方法解决了#PPM的模式长度$k$和一个文本长度$n$在时间$O(n^{k+1})$,而Berendsohn,Kozma和马克思最近表明,在指数时间假设(ETH)下,它不能解决时间$f(k) n^{o(k/\log k)}$的任何功能$f$。在本文中,我们考虑的限制#PPM,称为$\mathcal{C}$模式#PPM,其中模式$π$必须属于一个遗传置换类$\mathcal{C}$。我们的目标是确定$\mathcal{C}$的结构特性,这些结构特性决定了$\mathcal{C}$-模式#PPM的复杂性。我们专注于两个这样的结构属性,称为长路径属性(LPP)和深树属性(DTP)。假设ETH,我们得到这些结果:1。如果$C$具有LPP,则对于任何函数$f$,$\mathcal{C}$-模式#PPM不能在时间上求解$f(k)n^{o(\sqrt{k})}$,以及2.如果$C$具有DTP,则$\mathcal{C}$-模式#PPM不能在任何函数$f$的时间$f(k)n^{o(k/\log^2 k)}$中求解。此外,当$\mathcal{C}$是一个所谓的单调网格类,我们表明,如果$\mathcal{C}$有LPP,但没有DTP,那么$\mathcal{C}$模式#PPM可以解决的时间$f(k)n^{O(\sqrt k)}$。特别地,上述下界紧到指数中的多对数项。

英文摘要:

We study the counting problem known as #PPM, whose input is a pair of permutations $π$ and $τ$ (called pattern and text, respectively), and the task is to find the number of subsequences of $τ$ that have the same relative order as $π$. A simple brute-force approach solves #PPM for a pattern of length $k$ and a text of length $n$ in time $O(n^{k+1})$, while Berendsohn, Kozma and Marx have recently shown that under the exponential time hypothesis (ETH), it cannot be solved in time $f(k) n^{o(k/\log k)}$ for any function $f$. In this paper, we consider the restriction of #PPM, known as $\mathcal{C}$-Pattern #PPM, where the pattern $π$ must belong to a hereditary permutation class $\mathcal{C}$. Our goal is to identify the structural properties of $\mathcal{C}$ that determine the complexity of $\mathcal{C}$-Pattern #PPM. We focus on two such structural properties, known as the long path property (LPP) and the deep tree property (DTP). Assuming ETH, we obtain these results: 1. If $C$ has the LPP, then $\mathcal{C}$-Pattern #PPM cannot be solved in time $f(k)n^{o(\sqrt{k})}$ for any function $f$, and 2. if $C$ has the DTP, then $\mathcal{C}$-Pattern #PPM cannot be solved in time $f(k)n^{o(k/\log^2 k)}$ for any function $f$. Furthermore, when $\mathcal{C}$ is one of the so-called monotone grid classes, we show that if $\mathcal{C}$ has the LPP but not the DTP, then $\mathcal{C}$-Pattern #PPM can be solved in time $f(k)n^{O(\sqrt k)}$. In particular, the lower bounds above are tight up to the polylog terms in the exponents.

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

↑