Space-Efficient Conversions from SLPs

被引:1
|
作者
Gagie, Travis [1 ,5 ]
Goga, Adrian [2 ]
Jez, Artur [3 ]
Navarro, Gonzalo [4 ,5 ]
机构
[1] Dalhousie Univ, Fac Comp Sci, Halifax, NS, Canada
[2] Comenius Univ, Dept Comp Sci, Bratislava, Slovakia
[3] Univ Wroclaw, Inst Comp Sci, Wroclaw, Poland
[4] Univ Chile, Dept Comp Sci, Santiago, Chile
[5] CeBiB Ctr Biotechnol & Bioengn, Santiago, Chile
来源
LATIN 2024: THEORETICAL INFORMATICS, PT I | 2024年 / 14578卷
基金
加拿大自然科学与工程研究理事会;
关键词
GRAMMAR; APPROXIMATION; SEARCH;
D O I
10.1007/978-3-031-55598-5_10
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We give algorithms that, given a straight-line program (SLP) with g rules that generates (only) a text T[1..n], build within O(g) space the Lempel-Ziv (LZ) parse of T (of z phrases) in time O(n log(2) n) or in time O(gz log(2)(n/z)). We also show how to build a locally consistent grammar (LCG) of optimal size g(lc) = O(delta log n/delta) from the SLP within O(g + g(lc)) space and in O(n log g) time, where d is the substring complexity measure of T. Finally, we show how to build the LZ parse of T from such an LCG within O(g(lc)) space and in time O(z log(2) n log(2) (n/z)). All our results hold with high probability.
引用
收藏
页码:146 / 161
页数:16
相关论文
共 50 条
  • [21] Space-Efficient Substring Occurrence Estimation
    Orlandi, Alessio
    Venturini, Rossano
    ALGORITHMICA, 2016, 74 (01) : 65 - 90
  • [22] Space-Efficient Detection of Unusual Words
    Belazzougui, Djamal
    Cunial, Fabio
    STRING PROCESSING AND INFORMATION RETRIEVAL (SPIRE 2015), 2015, 9309 : 222 - 233
  • [23] Space-efficient algorithm for image rotation
    Asano, Tetsuo
    Bitou, Shinnya
    Motoki, Mitsuo
    Usui, Nobuaki
    IEICE TRANSACTIONS ON FUNDAMENTALS OF ELECTRONICS COMMUNICATIONS AND COMPUTER SCIENCES, 2008, E91A (09) : 2341 - 2348
  • [24] Space-Efficient Counting in Graphs on Surfaces
    Mark Braverman
    Raghav Kulkarni
    Sambuddha Roy
    computational complexity, 2009, 18
  • [25] Space-efficient Huffman codes revisited
    Grabowski, Szymon
    Koppl, Dominik
    INFORMATION PROCESSING LETTERS, 2023, 179
  • [26] Space-Efficient Vertex Separators for Treewidth
    Kammer, Frank
    Meintrup, Johannes
    Sajenko, Andrej
    ALGORITHMICA, 2022, 84 (09) : 2414 - 2461
  • [27] A SPACE-EFFICIENT ALGORITHM FOR LOCAL SIMILARITIES
    HUANG, XQ
    HARDISON, RC
    MILLER, W
    COMPUTER APPLICATIONS IN THE BIOSCIENCES, 1990, 6 (04): : 373 - 381
  • [28] Fast and space-efficient spin sensing
    Hu, Xuedong
    NATURE NANOTECHNOLOGY, 2019, 14 (08) : 735 - 736
  • [29] Space-Efficient Scheduling of Nested Parallelism
    Carnegie Mellon University, Computer Science Department, 5000 Forbes Avenue, Pittsburgh, PA 15213
    ACM Trans Program Lang Syst, 1 (138-173):
  • [30] Fast and space-efficient spin sensing
    Xuedong Hu
    Nature Nanotechnology, 2019, 14 : 735 - 736