2015
DOI: 10.1016/j.ic.2014.09.009
|View full text |Cite
|
Sign up to set email alerts
|

Detecting regularities on grammar-compressed strings

Abstract: We address the problems of detecting and counting various forms of regularities in a string represented as a straight-line program (SLP) which is essentially a context free grammar in the Chomsky normal form. Given an SLP of size n that represents a string s of length N, our algorithm computes all runs and squares in s inh is the height of the derivation tree of the SLP. We also show an algorithm to compute all gapped-palindromes in O (n 3 h + gnh log N) time and O (n 2 ) space, where g is the length of the ga… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1

Citation Types

0
1
0

Year Published

2018
2018
2024
2024

Publication Types

Select...
4
2

Relationship

2
4

Authors

Journals

citations
Cited by 11 publications
(1 citation statement)
references
References 17 publications
0
1
0
Order By: Relevance
“…Using Theorem 6, we obtain a faster algorithm, as follows: A non-empty string s is called a Lyndon word if s is the lexicographically smallest suffix of s. The Lyndon factorization of a non-empty string w is a sequence of pairs (|f i |, p i ) where each f i is a Lyndon word and p i is a positive integer such that w = f p1 1 • • • f pm m and f i−1 is lexicographically smaller than f i for all 1 ≤ i < m. I et al [14] proposed a Lyndon factorization algorithm running in O(nh(n + log n log N )) time and O(n 2 ) space. Their algorithm use the LCE data structure on SLPs [16] which requires O(n 2 h) preprocessing time, O(n 2 ) working space, and O(h log N ) time for LCE queries. We can obtain a faster algorithm using Theorem 6.…”
Section: Applicationsmentioning
confidence: 99%
“…Using Theorem 6, we obtain a faster algorithm, as follows: A non-empty string s is called a Lyndon word if s is the lexicographically smallest suffix of s. The Lyndon factorization of a non-empty string w is a sequence of pairs (|f i |, p i ) where each f i is a Lyndon word and p i is a positive integer such that w = f p1 1 • • • f pm m and f i−1 is lexicographically smaller than f i for all 1 ≤ i < m. I et al [14] proposed a Lyndon factorization algorithm running in O(nh(n + log n log N )) time and O(n 2 ) space. Their algorithm use the LCE data structure on SLPs [16] which requires O(n 2 h) preprocessing time, O(n 2 ) working space, and O(h log N ) time for LCE queries. We can obtain a faster algorithm using Theorem 6.…”
Section: Applicationsmentioning
confidence: 99%