Papers
Topics
Authors
Recent
Search
2000 character limit reached

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

Published 5 Nov 2021 in cs.CC and cs.DM | (2111.03479v1)

Abstract: We study the counting problem known as #PPM, whose input is a pair of permutations π\pi and τ\tau (called pattern and text, respectively), and the task is to find the number of subsequences of τ\tau that have the same relative order as π\pi. A simple brute-force approach solves #PPM for a pattern of length kk and a text of length nn in time O(n<sup>k+1)O(n<sup>{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<sup>o(k/log</sup>k)f(k) n<sup>{o(k/\log</sup> k)} for any function ff. In this paper, we consider the restriction of #PPM, known as C\mathcal{C}-Pattern #PPM, where the pattern π\pi must belong to a hereditary permutation class C\mathcal{C}. Our goal is to identify the structural properties of C\mathcal{C} that determine the complexity of C\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 CC has the LPP, then C\mathcal{C}-Pattern #PPM cannot be solved in time f(k)n<sup>o(k)f(k)n<sup>{o(\sqrt{k})} for any function ff, and 2. if CC has the DTP, then C\mathcal{C}-Pattern #PPM cannot be solved in time f(k)n<sup>o(k/log<sup>2</sup></sup>k)f(k)n<sup>{o(k/\log<sup>2</sup></sup> k)} for any function ff. Furthermore, when C\mathcal{C} is one of the so-called monotone grid classes, we show that if C\mathcal{C} has the LPP but not the DTP, then C\mathcal{C}-Pattern #PPM can be solved in time f(k)n<sup>O(</sup>k)f(k)n<sup>{O(\sqrt</sup> k)}. In particular, the lower bounds above are tight up to the polylog terms in the exponents.

Citations (1)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.