A WORK-TIME OPTIMAL ALGORITHM FOR COMPUTING ALL STRING COVERS

Citation
Cs. Iliopoulos et K. Park, A WORK-TIME OPTIMAL ALGORITHM FOR COMPUTING ALL STRING COVERS, Theoretical computer science, 164(1-2), 1996, pp. 299-310
Citations number
18
Categorie Soggetti
Computer Sciences","Computer Science Theory & Methods
ISSN journal
03043975
Volume
164
Issue
1-2
Year of publication
1996
Pages
299 - 310
Database
ISI
SICI code
0304-3975(1996)164:1-2<299:AWOAFC>2.0.ZU;2-O
Abstract
In recent study of repetitive structures of strings, generalized notio ns of periods have been introduced. A typical regularity, the period u of a given string x, grasps the repetitiveness of x since x is a pref ix of a string constructed by concatenations of u. A substring w of x is called a cover of x if x can be constructed by concatenations and s uperpositions of w. The notion ''cover'' is a generalization of period s in the sense that superpositions as well as concatenations are consi dered to define it, whereas only concatenations are considered for per iods. We consider the all-covers problem, i.e., that of computing all the covers of a given string of length n. We present an optimal O(log log n)-time CRCW PRAM algorithm for the all-covers problem. Since ther e is an Omega(log log n) lower bound on the time complexity of the all -covers problem, our algorithm is work-time optimal.