Journal of the ACM (JACM)
Text algorithms
Handbook of formal languages, vol. 1: word, language, grammar
Handbook of formal languages, vol. 1: word, language, grammar
Rotations of periodic strings and short superstrings
Journal of Algorithms
Local periods and propagation of periods in a word
Theoretical Computer Science - Special issue: papers dedicated to the memory of Marcel-Paul Schützenberger
Partial words and a theorem of Fine and Wilf
Theoretical Computer Science
A Space-Economical Suffix Tree Construction Algorithm
Journal of the ACM (JACM)
Journal of Combinatorial Theory Series A
A fast string searching algorithm
Communications of the ACM
Recurrence and periodicity in infinite words from local periods
Theoretical Computer Science
Partial words and a theorem of Fine and Wilf revisited
Theoretical Computer Science
A Periodicity Theorem on Words and Applications
MFCS '95 Proceedings of the 20th International Symposium on Mathematical Foundations of Computer Science
Local periods and binary partial words: an algorithm
Theoretical Computer Science
Linear-time computation of local periods
Theoretical Computer Science
Partial words and the critical factorization theorem
Journal of Combinatorial Theory Series A
STACS'07 Proceedings of the 24th annual conference on Theoretical aspects of computer science
MFCS'06 Proceedings of the 31st international conference on Mathematical Foundations of Computer Science
Discrete Applied Mathematics
Combinatorics on partial word correlations
Journal of Combinatorial Theory Series A
Hi-index | 5.23 |
In this paper, we consider one of the most fundamental results on the periodicity of words, namely the critical factorization theorem. Given a word w and nonempty words u,v satisfying w=uv, the minimal local period associated with the factorization (u,v) is the length of the shortest square at position |u|-1. The critical factorization theorem shows that for any word, there is always a factorization whose minimal local period is equal to the minimal period (or global period) of the word. Crochemore and Perrin presented a linear time algorithm (in the length of the word) that finds a critical factorization from the computation of the maximal suffixes of the word with respect to two total orderings on words: the lexicographic ordering related to a fixed total ordering on the alphabet, and the lexicographic ordering obtained by reversing the order of letters in the alphabet. Here, by refining Crochemore and Perrin's algorithm, we give a version of the critical factorization theorem for partial words (such sequences may contain "do not know" symbols or "holes"). Our proof provides an efficient algorithm which computes a critical factorization when one exists. Our results extend those of Blanchet-Sadri and Duncan for partial words with one hole. A World Wide Web server interface at http://www.uncg.edu/mat/research/cft2/ has been established for automated use of the program.