Substring Complexities on Run-length Compressed Strings

preprint2022arXivOpen access

Abstract

Let ST(k)S_{T}(k) denote the set of distinct substrings of length kk in a string TT, then the kk-th substring complexity is defined by its cardinality ∣ST(k)∣|S_{T}(k)|. Recently, δ=max⁡{∣ST(k)∣/k:k≥1}δ= \max \{ |S_{T}(k)| / k : k \ge 1 \} is shown to be a good compressibility measure of highly-repetitive strings. In this paper, given TT of length nn in the run-length compressed form of size rr, we show that δδ can be computed in Csort(r,n)\mathit{C}_{\mathsf{sort}}(r, n) time and O(r)O(r) space, where Csort(r,n)=O(min⁡(rlg⁡lg⁡r,rlg⁡rn))\mathit{C}_{\mathsf{sort}}(r, n) = O(\min (r \lg\lg r, r \lg_{r} n)) is the time complexity for sorting rr O(lg⁡n)O(\lg n)-bit integers in O(r)O(r) space in the Word-RAM model with word size Ω(lg⁡n)Ω(\lg n).

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.