A factor u of a word w is a cover of w if every position in w lies within some occurrence of u in w. A word w covered by u thus generalizes the idea of a repetition, that is, a word composed of exact concatenations of u. 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 O(n) size (where n=|w|) that can be constructed in O(nlogn) time which we apply to compute all shortest α-partial covers for a given α. We also employ it for an O(nlogn)-time algorithm computing a shortest α-partial cover for each α=1,2,…,n.
CITATION STYLE
Kociumaka, T., Pissis, S. P., Radoszewski, J., Rytter, W., & Waleń, T. (2015). Fast Algorithm for Partial Covers in Words. Algorithmica, 73(1), 217–233. https://doi.org/10.1007/s00453-014-9915-3
Mendeley helps you to discover research relevant for your work.