Verifying a Parameterized Border Array in O(n1.5) Time
Verifying a Parameterized Border Array in O(n1.5) Time
复制标题
DOI:
10.1007/978-3-642-13509-5_22
复制
发表时间:
2010-06
期刊:
影响因子:
--
通讯作者:
I. Tomohiro;Shunsuke Inenaga;H. Bannai;M. Takeda
中科院分区:
文献类型:
--
作者:
I. Tomohiro;Shunsuke Inenaga;H. Bannai;M. Takeda
The parameterized pattern matching problem is to check if there exists a renaming bijection on the alphabet with which a given pattern can be transformed into a substring of a given text. A parameterized border array (p-border array) is a parameterized version of a standard border array, and we can efficiently solve the parameterized pattern matching problem using p-border arrays. In this paper we present an O (n1. 5)-time O (n)-space algorithm to verify if a given integer array of length n is a valid p-border array for an unbounded alphabet. The best previously known solution takes time proportional to the n-th Bell number 1/eΣk= 0∞ kn/k!, and hence our algorithm is quite efficient.