Create and explore imaginative 3D worlds with our new product Dreamfield (opens in a new tab)
Papers
Topics
Authors
Recent
Search
2000 character limit reached

Faster Approximate(d) Text-to-Pattern L1 Distance

Published 28 Jan 2018 in cs.DS | (1801.09159v2)

Abstract: The problem of finding \emph{distance} between \emph{pattern} of length mm and \emph{text} of length nn is a typical way of generalizing pattern matching to incorporate dissimilarity score. For both Hamming and L1L_1 distances only a super linear upper bound O~(nm)\widetilde{O}(n\sqrt{m}) are known, which prompts the question of relaxing the problem: either by asking for (1±ε)(1 \pm \varepsilon) approximate distance (every distance is reported up to a multiplicative factor), or kk-approximated distance (distances exceeding kk are reported as ∞\infty). We focus on L1L_1 distance, for which we show new algorithms achieving complexities respectively O~(ε−1n)\widetilde{O}(\varepsilon^{-1} n) and O~((m+km)⋅n/m)\widetilde{O}((m+k\sqrt{m}) \cdot n/m). This is a significant improvement upon previous algorithms with runtime O~(ε−2n)\widetilde{O}(\varepsilon^{-2} n) of Lipsky and Porat [Algorithmica 2011] and O~(nk)\widetilde{O}(n\sqrt{k}) of Amir, Lipsky, Porat and Umanski [CPM 2005].

Authors (1)

Summary

No one has generated a summary of 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.