Back to Search Start Over

Parameterized longest previous factor

Authors :
Beal, Richard
Adjeroh, Donald
Source :
Theoretical Computer Science. Jun2012, Vol. 437, p21-34. 14p.
Publication Year :
2012

Abstract

Abstract: Given a string , the longest previous factor (LPF) problem is to determine the maximum length of a previously occurring factor for each suffix occurring in . The LPF problem is defined for traditional strings exclusively from the constant alphabet . A parameterized string (p-string) is a string composed of symbols from a constant alphabet and a parameter alphabet . We formulate the LPF problem in terms of p-strings by defining the parameterized longest previous factor (pLPF) problem. Subsequently, we present an expected linear time solution to construct the parameterized longest previous factor () array. Given our pLPF solution, we show how to construct the (parameterized longest common prefix) array with the same general algorithm. We exploit the properties of the data structure to also construct the standard (longest previous factor) and (longest common prefix) arrays all in linear time. Further, we provide insight into the practicality of our construction algorithms. [Copyright &y& Elsevier]

Details

Language :
English
ISSN :
03043975
Volume :
437
Database :
Academic Search Index
Journal :
Theoretical Computer Science
Publication Type :
Academic Journal
Accession number :
74678110
Full Text :
https://doi.org/10.1016/j.tcs.2012.02.004