Extracting powers and periods in a word from its runs structure
Access Status
Authors
Date
2014Type
Metadata
Show full item recordCitation
Source Title
ISSN
School
Collection
Abstract
A breakthrough in the field of text algorithms was the discovery of the fact that the maximal number of runs in a word of length n is O(n) and that they can all be computed in O(n) time. We study some applications of this result. New simpler O(n) time algorithms are presented for classical textual problems: computing all distinct k-th word powers for a given k, in particular squares for k=2, and finding all local periods in a given word of length n. Additionally, we present an efficient algorithm for testing primitivity of factors of a word and computing their primitive roots. Applications of runs, despite their importance, are underrepresented in existing literature (approximately one page in the paper of Kolpakov and Kucherov, 1999 [25,26]). In this paper we attempt to fill in this gap. We use Lyndon words and introduce the Lyndon structure of runs as a useful tool when computing powers. In problems related to periods we use some versions of the Manhattan skyline problem.
Related items
Showing items related by title, author, creator and subject.
-
Rebar, Amanda; Schoeppe, S.; Alley, S.; Short, C.; Dimmock, J.; Jackson, B.; Conroy, D.; Rhodes, R.; Vandelanotte, C. (2016)Physical activity is partially regulated by non-conscious processes including automatic evaluations - the spontaneous affective reactions we have to physical activity that lead us to approach or avoid physical activity ...
-
Atee, Mustafa ; Andreotta, Matthew; Lloyd, Rebecca; Whiting, Daniel; Alford, Marie; Morris, Thomas (2023)Background Pain is often poorly documented, assessed and managed in the Australian aged care sector. The Australian Government called for the Royal Commission into Aged Care Quality and Safety (RC) to investigate the ...
-
Hameau, Solene; Biedermann, Britta ; Robidoux, Serje; Nickels, Lyndsey (2021)Speaking involves selecting a word among co-activated words in the lexicon. The factors determining which potentially co-activated words affect the production of spoken words remain underspecified. This research investigated ...