Papers
Topics
Authors
Recent
Search
2000 character limit reached

Approximate pattern matching with k-mismatches in packed text

Published 23 Nov 2012 in cs.DS | (1211.5433v3)

Abstract: Given strings PP of length mm and TT of length nn over an alphabet of size σ\sigma, the string matching with kk-mismatches problem is to find the positions of all the substrings in TT that are at Hamming distance at most kk from PP. If TT can be read only one character at the time the best known bounds are O(nklogk)O(n\sqrt{k\log k}) and O(n+nk/wlogk)O(n + n\sqrt{k/w}\log k) in the word-RAM model with word length ww. In the RAM models (including AC<sup>0AC<sup>0 and word-RAM) it is possible to read up to $\floor{w / \log \sigma}$ characters in constant time if the characters of TT are encoded using $\ceil{\log \sigma}$ bits. The only solution for kk-mismatches in packed text works in $O((n \log\sigma/\log n)\ceil{m \log (k + \log n / \log\sigma) / w} + n<sup>{\varepsilon})$ time, for any $\varepsilon &gt; 0$. We present an algorithm that runs in time $O(\frac{n}{\floor{w/(m\log\sigma)}} (1 + \log \min(k,\sigma) \log m / \log\sigma))$ in the AC<sup>0AC<sup>0 model if m=O(w/logσ)m=O(w / \log\sigma) and TT is given packed. We also describe a simpler variant that runs in time $O(\frac{n}{\floor{w/(m\log\sigma)}}\log \min(m, \log w / \log\sigma))$ in the word-RAM model. The algorithms improve the existing bound for w=Ω(log<sup>1+ϵn)w = \Omega(\log<sup>{1+\epsilon}n), for any $\epsilon &gt; 0$. Based on the introduced technique, we present algorithms for several other approximate matching problems.

Citations (9)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.