Hardness of permutation pattern matching
From MaRDI portal
Abstract: Permutation Pattern Matching (or PPM) is a decision problem whose input is a pair of permutations and , represented as sequences of integers, and the task is to determine whether contains a subsequence order-isomorphic to . Bose, Buss and Lubiw proved that PPM is NP-complete on general inputs. We show that PPM is NP-complete even when has no decreasing subsequence of length 3 and has no decreasing subsequence of length 4. This provides the first known example of PPM being hard when one or both of and are restricted to a proper hereditary class of permutations. This hardness result is tight in the sense that PPM is known to be polynomial when both and avoid a decreasing subsequence of length 3, as well as when avoids a decreasing subsequence of length 2. The result is also tight in another sense: we will show that for any hereditary proper subclass C of the class of permutations avoiding a decreasing sequence of length 3, there is a polynomial algorithm solving PPM instances where is from C and is arbitrary. We also obtain analogous hardness and tractability results for the class of so-called skew-merged patterns. From these results, we deduce a complexity dichotomy for the PPM problem restricted to belonging to , where denotes the class of permutations avoiding a permutation . Specifically, we show that the problem is polynomial when is in the set {1, 12, 21, 132, 213, 231, 312}, and it is NP-complete for any other .
Recommendations
Cited in
(15)- Finding and counting permutations via CSPs
- Kernelization lower bound for permutation pattern matching
- Finding pattern matchings for permutations
- The computational landscape of permutation patterns
- On Complexity of the Subpattern Problem
- Pattern matching for 321-avoiding permutations
- The complexity of pattern matching for 321-avoiding and skew-merged permutations
- Generalized Coloring of Permutations
- Pattern matching for permutations
- scientific article; zbMATH DE number 7559423 (Why is no real title available?)
- Combinatorial generation via permutation languages. I: Fundamentals
- scientific article; zbMATH DE number 7765381 (Why is no real title available?)
- Parity permutation pattern matching
- Generalized coloring of permutations
- Parity permutation pattern matching
This page was built for publication: Hardness of permutation pattern matching
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q4575761)