Computing covers using prefix tables

From MaRDI portal
Publication:313747

DOI10.1016/J.DAM.2015.05.019zbMATH Open1350.68297arXiv1412.3016OpenAlexW1600674239MaRDI QIDQ313747FDOQ313747


Authors: Ali Alatabbi, M. Sohel Rahman, W. F. Smyth Edit this on Wikidata


Publication date: 12 September 2016

Published in: Discrete Applied Mathematics (Search for Journal in Brave)

Abstract: An emph{indeterminate string} x=x[1..n] on an alphabet Sigma is a sequence of nonempty subsets of Sigma; x is said to be emph{regular} if every subset is of size one. A proper substring u of regular x is said to be a emph{cover} of x iff for every iin1..n, an occurrence of u in x includes x[i]. The emph{cover array} gamma=gamma[1..n] of x is an integer array such that gamma[i] is the longest cover of x[1..i]. Fifteen years ago a complex, though nevertheless linear-time, algorithm was proposed to compute the cover array of regular x based on prior computation of the border array of x. In this paper we first describe a linear-time algorithm to compute the cover array of regular string x based on the prefix table of x. We then extend this result to indeterminate strings.


Full work available at URL: https://arxiv.org/abs/1412.3016




Recommendations




Cites Work


Cited In (15)





This page was built for publication: Computing covers using prefix tables

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q313747)