Logo image
String covering with optimal covers
Journal article   Open access   Peer reviewed

String covering with optimal covers

N. Mhaskar and W.F. Smyth
Journal of Discrete Algorithms, Vol.51, pp.26-38
2018
pdf
String covering with optimal covers. Journal of Discrete Algorithms.pdfDownloadView
Author’s Version Open Access
url
Link to Published Version *Subscription may be requiredView

Abstract

In this paper we introduce the notion of an optimal cover. Let M denote the maximum number of positions in w covered by any repeating substring of w. Then a longest (shortest) optimal cover u is a longest (shortest) repeating substring of w that covers M positions. The advantage of this notion is that it is not only applicable to all strings, but also that it does not share the deficiencies of the existing definitions of covers. We show that both the longest and the shortest optimal covers for a given string w of length n can be computed easily and efficiently in O(n log n) time and O(n) space. We further show that the data structures used to compute optimal covers also compute the α-partial covers introduced in [10].

Details

Metrics

118 File views/ downloads
122 Record Views
Logo image