Efficient dynamic programming alignment of cyclic strings by shift elimination

作者:

Highlights:

摘要

Optimal alignment of two strings of length m and n is computed in time O(mn) by dynamic programming. When the strings represent cyclic patterns, the alignment computation must consider all possible shifts and the computation complexity increases accordingly. We present an algorithm for efficient dynamic programming alignment of cyclic strings which uses a previously established channeling technique to reduce the complexity of each alignment and a new shift elimination technique to reduce the number of alignments carried out. The result is a data-dependent time complexity that varies between O(2mn) and O(mn log2 n). An experimental evaluation is provided using randomly generated sequences.

论文关键词:Cyclic patterns,String matching,Pattern analysis

论文评审过程:Received 23 November 1994, Revised 5 September 1995, Accepted 16 October 1995, Available online 7 June 2001.

论文官网地址:https://doi.org/10.1016/0031-3203(95)00144-1