The Complexity of Pattern Matching for $321$-Avoiding and Skew-Merged
Permutations
-
Published:2016-12-21
Issue:Permutation Patterns
Volume:Vol. 18 no. 2, Permutation...
Page:
-
ISSN:1365-8050
-
Container-title:Discrete Mathematics & Theoretical Computer Science
-
language:en
-
Short-container-title:
Author:
Albert Michael H.,Lackner Marie-Louise,Lackner Martin,Vatter Vincent
Abstract
The Permutation Pattern Matching problem, asking whether a pattern
permutation $\pi$ is contained in a permutation $\tau$, is known to be
NP-complete. In this paper we present two polynomial time algorithms for
special cases. The first algorithm is applicable if both $\pi$ and $\tau$ are
$321$-avoiding; the second is applicable if $\pi$ and $\tau$ are skew-merged.
Both algorithms have a runtime of $O(kn)$, where $k$ is the length of $\pi$ and
$n$ the length of $\tau$.
Publisher
Centre pour la Communication Scientifique Directe (CCSD)
Subject
Discrete Mathematics and Combinatorics,General Computer Science,Theoretical Computer Science
Cited by
2 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Parity Permutation Pattern Matching;Algorithmica;2024-05-22
2. Parity Permutation Pattern Matching;WALCOM: Algorithms and Computation;2023