Algorithms for finding a minimum repetition representation of a string

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

Abstract

A string with many repetitions can be written compactly by replacing h-fold contiguous repetitions of substring r with (r)h . We refer to such a compact representation as a repetition representation string or RRS, by which a set of disjoint or nested tandem arrays can be compacted. In this paper, we study the problem of finding a minimum RRS or MRRS, where the size of an RRS is defined to be the sum of its component letter sizes and the sizes needed to describe the repetitions (·)h which are defined as w R (h) using a repetition weight function wR . We develop two dynamic programming algorithms to solve the problem. One is CMR that works for any repetition weight function, and the other is CMR-C that is faster but can be applied only when the repetition weight function is constant. CMR-C is an O(w(n+z))-time algorithm using O(n+z) space for a given string with length n, where w and z are the number of distinct primitive tandem repeats and the number of their occurrences, respectively. Since w = O(n) and z = O(n log n) in the worst case, CMR-C is an O(n2log n)-time O(n log n)-space algorithm, which is faster than CMR by ((log n)/n)-factor. © 2010 Springer-Verlag.

Author supplied keywords

Cite

CITATION STYLE

APA

Nakamura, A., Saito, T., Takigawa, I., Mamitsuka, H., & Kudo, M. (2010). Algorithms for finding a minimum repetition representation of a string. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 6393 LNCS, pp. 185–190). https://doi.org/10.1007/978-3-642-16321-0_18

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