Range Non-Overlapping Indexing

Abstract

We study the non-overlapping indexing problem: Given a text T, preprocess it so that you can answer queries of the form: given a pattern P, report the maximal set of non-overlapping occurrences of P in T. A generalization of this problem is the range non-overlapping indexing where in addition we are given two indexes i,j to report the maximal set of non-overlapping occurrences between these two indexes. We suggest new solutions for these problems. For the non-overlapping problem our solution uses O(n) space with query time of O(m + occNO). For the range non-overlapping problem we propose a solution with O(nε n) space for some 0<ε<1 and O(m + n + occij,NO) query time.

0

Discussion (0)

Sign in to join the discussion.

Loading comments…