On Periodicity Lemma for Partial Words
T. Kociumaka,
J. Radoszewski,
W. Rytter,
T. Waleń
April, 2018
Abstract
We investigate the function , called here the threshold function, related to periodicity of partial words (words with holes). The value is defined as the minimum length threshold which guarantees that a natural extension of the periodicity lemma is valid for partial words with holes and (strong) periods , . We show how to evaluate the threshold function in time, which is an improvement upon the best previously known -time algorithm. In a series of papers, the formulae for the threshold function, in terms of and , were provided for each fixed . We demystify the generic structure of such formulae, and for each value h we express the threshold function in terms of a piecewise-linear function with pieces.
Publication
LATA pp:232-244