Faster Approximate(d) Text-to-Pattern L1 Distance
Abstract: The problem of finding \emph{distance} between \emph{pattern} of length and \emph{text} of length is a typical way of generalizing pattern matching to incorporate dissimilarity score. For both Hamming and distances only a super linear upper bound are known, which prompts the question of relaxing the problem: either by asking for approximate distance (every distance is reported up to a multiplicative factor), or -approximated distance (distances exceeding are reported as ). We focus on distance, for which we show new algorithms achieving complexities respectively and . This is a significant improvement upon previous algorithms with runtime of Lipsky and Porat [Algorithmica 2011] and of Amir, Lipsky, Porat and Umanski [CPM 2005].
Paper Prompts
Sign up for free to create and run prompts on this paper.