Finding All Covers Of An Indeterminate String In O(N) Time On Average

PROCEEDINGS OF THE PRAGUE STRINGOLOGY CONFERENCE 2009(2009)

引用 27|浏览7
暂无评分
摘要
We study the problem of finding all the covers of an indeterminate string. An indeterminate string is a sequence T = T[1]T[2] . . . T[n], where T[i] subset of Sigma for each i, and Sigma is a given alphabet of fixed size. Here we describe an algorithm for finding all the covers of a string x. The algorithm is applicable for both regular and indeterminate strings. Our algorithm starts with the border array and uses pattern matching technique of the Aho-Corasick Automaton to compute all the covers of x from the border array. On average the algorithm requires O(n) time to find out all the covers, where n is the length of x. Finally, we extend our algorithm to compute the cover array of x in O(n(2)) time and O(n) space complexity.
更多
查看译文
关键词
indeterminate strings, covers, cover array, Aho-Corasick Automaton, string regularities
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要