Fast Algorithm for Partial Covers in Words
T. Kociumaka,
S. P. Pissis,
J. Radoszewski,
W. Rytter,
T. Waleń
July, 2015
Abstract
A factor of a word is a cover of if every position in lies within some occurrence of in . A word w covered by thus generalizes the idea of a repetition, that is, a word composed of exact concatenations of . In this article we introduce a new notion of -partial cover, which can be viewed as a relaxed variant of cover, that is, a factor covering at least positions in w. We develop a data structure of size (where ) that can be constructed in time which we apply to compute all shortest \alpha-partial covers for a given . We also employ it for an -time algorithm computing a shortest -partial cover for each .
Publication
Algorithmica 73(1):217-233