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
来源
基金
加拿大自然科学与工程研究理事会;
关键词
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 条
  • [1] Space-Efficient Manifest Contracts
    Greenberg, Michael
    ACM SIGPLAN NOTICES, 2015, 50 (01) : 181 - 194
  • [2] Space-efficient gradual typing
    Herman D.
    Tomb A.
    Flanagan C.
    Higher-Order and Symbolic Computation, 2010, 23 (02) : 167 - 189
  • [3] SPACE-EFFICIENT PARALLEL MERGING
    KATAJAINEN, J
    LEVCOPOULOS, C
    PETERSSON, O
    RAIRO-INFORMATIQUE THEORIQUE ET APPLICATIONS-THEORETICAL INFORMATICS AND APPLICATIONS, 1993, 27 (04): : 295 - 310
  • [4] Space-Efficient Latent Contracts
    Greenberg, Michael
    TRENDS IN FUNCTIONAL PROGRAMMING (TFP 2016), 2019, 10447 : 3 - 23
  • [5] The Space-Efficient Core of Vadalog
    Berger, Gerald
    Gottlob, Georg
    Pieris, Andreas
    Sallinger, Emanuel
    PROCEEDINGS OF THE 38TH ACM SIGMOD-SIGACT-SIGAI SYMPOSIUM ON PRINCIPLES OF DATABASE SYSTEMS (PODS '19), 2019, : 270 - 284
  • [6] Space-efficient search algorithms
    Korf, RE
    ACM COMPUTING SURVEYS, 1995, 27 (03) : 337 - 339
  • [7] Space-Efficient Informational Redundancy
    Glasser, Christian
    ALGORITHMS AND COMPUTATION, PROCEEDINGS, 2008, 5369 : 448 - 459
  • [8] SPACE-EFFICIENT PARALLEL MERGING
    KATAJAINEN, J
    LEVCOPOULOS, C
    PETERSSON, O
    LECTURE NOTES IN COMPUTER SCIENCE, 1992, 605 : 37 - 49
  • [9] Space-Efficient Graph Kernelizations
    Kammer, Frank
    Sajenko, Andrej
    THEORY AND APPLICATIONS OF MODELS OF COMPUTATION, TAMC 2024, 2024, 14637 : 260 - 271
  • [10] The Space-Efficient Core of Vadalog
    Berger, Gerald
    Gottlob, Georg
    Pieris, Andreas
    Sallinger, Emanuel
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 2022, 47 (01):