Computing Covers Using Prefix Tables
Ali Alatabbi, M. Sohel Rahman, W. F. Smyth

TL;DR
This paper introduces a linear-time algorithm for computing the cover array of regular strings using prefix tables and extends the approach to indeterminate strings, improving efficiency over previous methods.
Contribution
It presents the first linear-time algorithm for cover array computation based on prefix tables and extends it to indeterminate strings, enhancing computational efficiency.
Findings
Linear-time algorithm for regular strings using prefix tables
Extension of the algorithm to indeterminate strings
Improved efficiency over previous border array-based methods
Abstract
An \emph{indeterminate string} on an alphabet is a sequence of nonempty subsets of ; is said to be \emph{regular} if every subset is of size one. A proper substring of regular is said to be a \emph{cover} of iff for every , an occurrence of in includes . The \emph{cover array} of is an integer array such that is the longest cover of . Fifteen years ago a complex, though nevertheless linear-time, algorithm was proposed to compute the cover array of regular based on prior computation of the border array of . In this paper we first describe a linear-time algorithm to compute the cover array of regular string based on the prefix table of . We then extend this result to indeterminate strings.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgorithms and Data Compression · DNA and Biological Computing · semigroups and automata theory
