A Fast Algorithm for Permutation Pattern Matching Based on Alternating Runs

A Fast Algorithm for Permutation Pattern Matching Based on Alternating Runs

0.00 Avg rating0 Votes
Article ID: iaor20162549
Volume: 75
Issue: 1
Start Page Number: 84
End Page Number: 117
Publication Date: May 2016
Journal: Algorithmica
Authors: ,
Keywords: search, optimization
Abstract:

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

Reviews

Required fields are marked *. Your email address will not be published.