Frédérique Bassino, Tsinjo Rakotoarimalala, A. Sportiello
{"title":"The complexity of the Multiple Pattern Matching Problem for random strings","authors":"Frédérique Bassino, Tsinjo Rakotoarimalala, A. Sportiello","doi":"10.1137/1.9781611975062.5","DOIUrl":null,"url":null,"abstract":"We generalise a multiple string pattern matching algorithm, recently proposed by Fredriksson and Grabowski [J. Discr. Alg. 7, 2009], to deal with arbitrary dictionaries on an alphabet of size $s$. If $r_m$ is the number of words of length $m$ in the dictionary, and $\\phi(r) = \\max_m \\ln(s\\, m\\, r_m)/m$, the complexity rate for the string characters to be read by this algorithm is at most $\\kappa_{{}_\\textrm{UB}}\\, \\phi(r)$ for some constant $\\kappa_{{}_\\textrm{UB}}$. On the other side, we generalise the classical lower bound of Yao [SIAM J. Comput. 8, 1979], for the problem with a single pattern, to deal with arbitrary dictionaries, and determine it to be at least $\\kappa_{{}_\\textrm{LB}}\\, \\phi(r)$. This proves the optimality of the algorithm, improving and correcting previous claims.","PeriodicalId":340112,"journal":{"name":"Workshop on Analytic Algorithmics and Combinatorics","volume":"9 7","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-06-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Workshop on Analytic Algorithmics and Combinatorics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1137/1.9781611975062.5","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
Abstract
We generalise a multiple string pattern matching algorithm, recently proposed by Fredriksson and Grabowski [J. Discr. Alg. 7, 2009], to deal with arbitrary dictionaries on an alphabet of size $s$. If $r_m$ is the number of words of length $m$ in the dictionary, and $\phi(r) = \max_m \ln(s\, m\, r_m)/m$, the complexity rate for the string characters to be read by this algorithm is at most $\kappa_{{}_\textrm{UB}}\, \phi(r)$ for some constant $\kappa_{{}_\textrm{UB}}$. On the other side, we generalise the classical lower bound of Yao [SIAM J. Comput. 8, 1979], for the problem with a single pattern, to deal with arbitrary dictionaries, and determine it to be at least $\kappa_{{}_\textrm{LB}}\, \phi(r)$. This proves the optimality of the algorithm, improving and correcting previous claims.