Improved Grammar-Based Compressed Indexes

Computer Science – Data Structures and Algorithms

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

Scientific paper

We introduce the first grammar-compressed representation of a sequence that supports searches in time that depends only logarithmically on the size of the grammar. Given a text $T[1..u]$ that is represented by a (context-free) grammar of $n$ (terminal and nonterminal) symbols and size $N$ (measured as the sum of the lengths of the right hands of the rules), a basic grammar-based representation of $T$ takes $N\lg n$ bits of space. Our representation requires $2N\lg n + N\lg u + \epsilon\, n\lg n + o(N\lg n)$ bits of space, for any $0<\epsilon \le 1$. It can find the positions of the $occ$ occurrences of a pattern of length $m$ in $T$ in $O((m^2/\epsilon)\lg (\frac{\lg u}{\lg n}) +occ\lg n)$ time, and extract any substring of length $\ell$ of $T$ in time $O(\ell+h\lg(N/h))$, where $h$ is the height of the grammar tree.

No associations

LandOfFree

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

Improved Grammar-Based Compressed Indexes does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.

If you have personal experience with Improved Grammar-Based Compressed Indexes, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Improved Grammar-Based Compressed Indexes will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-551620

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.