Improved space-time tradeoffs for approximate full-text indexing with one edit error

preprint2014arXivOpen access

Abstract

In this paper we are interested in indexing texts for substring matching queries with one edit error. That is, given a text TT of nn characters over an alphabet of size σσ, we are asked to build a data structure that answers the following query: find all the occocc substrings of the text that are at edit distance at most 11 from a given string qq of length mm. In this paper we show two new results for this problem. The first result, suitable for an unbounded alphabet, uses O(nlog⁡εn)O(n\log^εn) (where εε is any constant such that 0<ε<10<ε<1) words of space and answers to queries in time O(m+occ)O(m+occ). This improves simultaneously in space and time over the result of Cole et al. The second result, suitable only for a constant alphabet, relies on compressed text indices and comes in two variants: the first variant uses O(nlog⁡εn)O(n\log^ε n) bits of space and answers to queries in time O(m+occ)O(m+occ), while the second variant uses O(nlog⁡log⁡n)O(n\log\log n) bits of space and answers to queries in time O((m+occ)log⁡log⁡n)O((m+occ)\log\log n). This second result improves on the previously best results for constant alphabets achieved in Lam et al. (Algorithmica 2008) and Chan et al. (Algorithmica 2010).

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.