Detecting regularities on grammar-compressed strings

2Citations
Citations of this article
5Readers
Mendeley users who have this article in their library.
Get full text

Abstract

We solve the problems of detecting and counting various forms of regularities in a string represented as a Straight Line Program (SLP). Given an SLP of size n that represents a string s of length N, our algorithm computes all runs and squares in s in O(n3 h) time and O(n2) space, where h is the height of the derivation tree of the SLP. We also show an algorithm to compute all gapped-palindromes in O(n3 h + gnhlog N) time and O(n2) space, where g is the length of the gap. The key technique of the above solution also allows us to compute the periods and covers of the string in O(n2 h) time and O(nh(n + log2 N)) time, respectively. © 2013 Springer-Verlag.

Cite

CITATION STYLE

APA

I, T., Matsubara, W., Shimohira, K., Inenaga, S., Bannai, H., Takeda, M., … Shinohara, A. (2013). Detecting regularities on grammar-compressed strings. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 8087, pp. 571–582). Springer Verlag. https://doi.org/10.1007/978-3-642-40313-2_51

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free