paper

A Fast Algorithm for Permutation Pattern Matching Based on Alternating Runs

arXiv:1204.5224

Abstract

The NP-complete Permutation Pattern Matching problem asks whether a -permutation is contained in a -permutation as a pattern. This is the case if there exists an order-preserving embedding of into . In this paper, we present a fixed-parameter algorithm solving this problem with a worst-case runtime of , where denotes the number of alternating runs of . This algorithm is particularly well-suited for instances where has few runs, i.e., few ups and downs. Moreover, since , this can be seen as a algorithm which is the first to beat the exponential runtime of brute-force search. Furthermore, we prove that under standard complexity theoretic assumptions such a fixed-parameter tractability result is not possible for .

Cited by in corpus (2)