用户名: 密码: 验证码:
Verifying and enumerating parameterized border arrays
详细信息    查看全文
文摘
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 a linear time algorithm to verify if a given integer array is a valid p-border array for a binary alphabet. We also show a linear time algorithm to compute all binary parameterized strings sharing a given p-border array. In addition, we give an algorithm which computes all p-border arrays of length at most , where is a given threshold. This algorithm runs in time, where is the number of all p-border arrays of length for a binary parameter alphabet.

The problems with a larger alphabet are much more difficult. Still, we present an ¨Ctime ¨Cspace algorithm to verify if a given integer array of length is a valid p-border array for an unbounded alphabet. The best previously known solution to this task takes time proportional to the -th Bell number , and hence our algorithm is much more efficient. Also, we show that it is possible to enumerate all p-border arrays of length at most for an unbounded alphabet in time, where denotes the number of p-border arrays of length .

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700