scientific article; zbMATH DE number 4119620

From MaRDI portal
Publication:4733401





[For the entire collection see Zbl 0681.00016.] A generalization of the well-known string matching problem called string matching with k differences is investigated here. Given a text string of length n, a pattern string of length m, and an integer k, the task is to find all occurrences of the pattern string in the text string with at most k differences (the difference is considered as an error which can be removed by one of the following edit operations over one symbol of the input string: change, insertion, delation). Two algorithms for this computing problem are presented here: 1. A practical algorithm working in \(O(kn+m^ 2)\) time (note that the best known practical algorithm has worked in time \(O(k^ 2n+m^ 2)\) [\textit{G. M. Landau} and \textit{U. Vishkin}, J. Comput. Syst. Sci. 37, No.1, 63-78 (1988; Zbl 0655.68075)]). 2. A theoretical algorithm working in \(O(kn+m \log m)\) time (the fastest known algorithm [\textit{G. M. Landau} and \textit{U. Vishkin}, J. Algorithms 10, No.2, 157-169 (1989)] has worked in time \(O(kn+n \log m))\).




Cited in
(28)








This page was built for publication:

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q4733401)