PlumX Metrics
Embed PlumX Metrics

Space-Efficient SLP Encoding for O(log N)-Time Random Access

Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), ISSN: 1611-3349, Vol: 14899 LNCS, Page: 336-347
2025
  • 0
    Citations
  • 0
    Usage
  • 0
    Captures
  • 0
    Mentions
  • 0
    Social Media
Metric Options:   Counts1 Year3 Year

Conference Paper Description

A Straight-Line Program (SLP) G for a string T is a context-free grammar (CFG) that derives T only, which can be considered as a compressed representation of T.In this paper, we show how to encode G in n⌈lgN⌉+(n+n)⌈lg(n+σ)⌉+4n-2n+o(n) bits to support random access queries of extracting T[p..q] in worst-case O(logN+q-p) time, where N is the length of T, σ is the alphabet size, n is the number of variables in G and n≤n is the number of symmetric centroid paths in the DAG representation for G.

Provide Feedback

Have ideas for a new metric? Would you like to see something else here?Let us know