Computing Covers under Substring Consistent Equivalence Relations
Abstract
Covers are a kind of quasiperiodicity in strings. A string is a cover of another string if any position of is inside some occurrence of in . The shortest and longest cover arrays of have the lengths of the shortest and longest covers of each prefix of , respectively. The literature has proposed linear-time algorithms computing longest and shortest cover arrays taking border arrays as input. An equivalence relation over strings is called a substring consistent equivalence relation (SCER) iff implies (1) and (2) for all . In this paper, we generalize the notion of covers for SCERs and prove that existing algorithms to compute the shortest cover array and the longest cover array of a string under the identity relation will work for any SCERs taking the accordingly generalized border arrays.
Keywords
Cite
@article{arxiv.2002.06764,
title = {Computing Covers under Substring Consistent Equivalence Relations},
author = {Natsumi Kikuchi and Diptarama Hendrian and Ryo Yoshinaka and Ayumi Shinohara},
journal= {arXiv preprint arXiv:2002.06764},
year = {2020}
}
Comments
16 pages