首页 | 本学科首页   官方微博 | 高级检索  
     


Finding all periods and initial palindromes of a string in parallel
Authors:D Breslauer  Z Galil
Affiliation:(1) CWI, P.O. Box 94079, 1090 GB Amsterdam, The Netherlands;(2) Computer Science Department, Columbia University, 10027 New York, NY, USA;(3) Tel-Aviv University, 69 978 Ramat Aviv, Israel
Abstract:An optimalO(log logn)-time CRCW-PRAM algorithm for computing all period lengths of a string is presented. Previous parallel algorithms compute the period only if it is shorter than half of the length of the string. The algorithm can be used to find all initial palindromes of a string in the same time and processor bounds. Both algorithms are the fastest possible over a general alphabet. We derive a lower bound for finding initial palindromes by modifying a known lower bound for finding the period length of a string 9]. Whenp processors are available the bounds become THgr(lceiln/prceil+loglceil1+p/nrceil2p).This work was partially supported by NSF Grant CCR-90-14605. D. Breslauer was partially supported by an IBM Graduate Fellowship while studying at Columbia University and by a European Research Consortium for Informatics and Mathematics postdoctoral fellowship.
Keywords:Parallel algorithms  Lower bounds  Comparison model  Strings  Periods  Palindromes
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号