Los puntos clave no están disponibles para este artículo en este momento.
The proliferation of online text, such as on the World Wide Web and in databases, motivates the need for space-efficient index methods that support fast search. Consider a text T of n binary symbols to index. Given any query pattern P of m binary symbols, the goal is to search for P in T quickly, with T being fully scanned only once, namely, when the index is created. All indexing schemes published in the last thirty years support searching in \ (m) worst-case time and require \ (n) memory words (or \ (n log n) bits), which is significantly larger than the text itself. In this paper we provide a breakthrough both in searching time and index space under the same model of computation as the one adopted in previous work. Based upon new compressed representations of suffix arrays and suffix trees, we construct an index structure that occupies only O (n) bits and compares favorably with inverted lists in space. We can search any binary pattern P, stored in O (m= log n) words, in only o (m) time. Specifically, searching takes O (1) time for m = o (log n), and O (m= log n + log ffl n) = o (m) time for m =\\239 n) and any fixed 0 ! ffl ! 1. That is, we achieve optimal O (m= log n) search time for sufficiently large m =\\206 1+ffl n). We can list all the occ pattern occurrences in optimal O (occ) additional time when m = \\1 olylog (n) ) or when occ = \\ n ffl) ; otherwise, listing takes O (occ log ffl n) additional time.
Grossi et al. (Mon,) studied this question.