Source author record

Jamie Simpson

Explore this author’s publications, collaborators and research topics. This catalog record has not been claimed by its author.

ResearcherUnclaimed source record

Catalog footprint

Research overview

2works
3topics
4close collaborators

Published work

2 publications

preprint2015arXiv

Enhanced Covers of Regular & Indeterminate Strings using Prefix Tables

A \itbf{cover} of a string x=x[1..n]x = x[1..n] is a proper substring uu of xx such that xx can be constructed from possibly overlapping instances of uu. A recent paper \cite{FIKPPST13} relaxes this definition --- an \itbf{enhanced cover} uu of xx is a border of xx (that is, a proper prefix that is also a suffix) that covers a {\it maximum} number of positions in xx (not necessarily all) --- and proposes efficient algorithms for the computation of enhanced covers. These algorithms depend on the prior computation of the \itbf{border array} β[1..n]β[1..n], where β[i]β[i] is the length of the longest border of x[1..i]x[1..i], 1≤i≤n1 \le i \le n. In this paper, we first show how to compute enhanced covers using instead the \itbf{prefix table}: an array π[1..n]π[1..n] such that π[i]π[i] is the length of the longest substring of xx beginning at position ii that matches a prefix of xx. Unlike the border array, the prefix table is robust: its properties hold also for \itbf{indeterminate strings} --- that is, strings defined on {\it subsets} of the alphabet ΣΣ rather than individual elements of ΣΣ. Thus, our algorithms, in addition to being faster in practice and more space-efficient than those of \cite{FIKPPST13}, allow us to easily extend the computation of enhanced covers to indeterminate strings. Both for regular and indeterminate strings, our algorithms execute in expected linear time. Along the way we establish an important theoretical result: that the expected maximum length of any border of any prefix of a regular string xx is approximately 1.64 for binary alphabets, less for larger ones.

preprint2013arXiv

The total run length of a word

A run in a word is a periodic factor whose length is at least twice its period and which cannot be extended to the left or right (by a letter) to a factor with greater period. In recent years a great deal of work has been done on estimating the maximum number of runs that can occur in a word of length nn. A number of associated problems have also been investigated. In this paper we consider a new variation on the theme. We say that the total run length (TRL) of a word is the sum of the lengths of the runs in the word and that τ(n)τ(n) is the maximum TRL over all words of length nn. We show that n2/8<τ(n)<47n2/72+2nn^2/8 < τ(n) < 47n^2/72 + 2n for all nn. We also give a formula for the average total run length of words of length nn over an alphabet of size αα, and some other results.

Research graph

See the researcher in context

Open full explorer

Inspect adjacent papers, topics, institutions and collaborators without losing the researcher page.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.