Article ID | Journal | Published Year | Pages | File Type |
---|---|---|---|---|
6874761 | Journal of Discrete Algorithms | 2017 | 4 Pages |
Abstract
We consider the problem of indexing a given text T[0...nâ1] of n characters over an alphabet set Σ of size Ï, in order to answer the position-restricted substring searching queries. The query input consists of a pattern P (of length p) and two indices â and r and the output is the set of all occâ,r occurrences of P in T[â...r]. In this paper, we propose an O(nlogâ¡Ï)-word space index with O(p+occâ,rlogâ¡logâ¡n) query time. Our solution is interesting when the alphabet size is small. For example, when the alphabet set is of constant size, we achieve significant improvement over the previously best-known linear space index by Navarro and Nekrich [SWAT 2012] with O(p+occâ,rlogϵâ¡n) query time, where ϵ>0 is an arbitrarily small positive constant.
Related Topics
Physical Sciences and Engineering
Computer Science
Computational Theory and Mathematics
Authors
Sudip Biswas, Tsung-Han Ku, Rahul Shah, Sharma V. Thankachan,