Utilizing dynamically updated estimates in solving the longest common subsequence problem

被引:0
作者
Bergroth, Lasse [1 ]
机构
[1] Turku Ctr Comp Sci, Turku 20520, Finland
来源
STRING PROCESSING AND INFORMATION RETRIEVAL, PROCEEDINGS | 2005年 / 3772卷
关键词
longest common subsequence; string algorithms; heuristic algorithms;
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The running time of longest common subsequence (lcs) algorithms is shown to be dependent of several parameters, To such parameters belong e. g. the size of the input alphabet, the distribution of the characters in the input strings and the degree of similarity between the strings. Therefore it is very difficult to establish an lcs algorithm that could be efficient enough for all relevant problem instances. As a consequence of that fact, many of those algorithms are planned to be applied only on a restricted set of all possible inputs. Some of them are besides quite tricky to implement. In order to speed up the running time of lcs algorithms in common, one of the most crucial prerequisities is that preliminary information about the input strings could be utilized. In addition, this information should be available after a reasonably quick preprocessing phase. One informative a priori-value to calculate is a lower bound estimate for the length of the lcs. However, the obtained lower bound might not be as accurate as desired and thus no appreciable advantages of the preprocessing can be drawn. In this paper, a straightforward method for updating dynamically the lower bound value for the lcs is presented. The purpose is to refine the estimate gradually to prune more effectively the search space of the used exact lcs algorithm. Furthermore, simulation tests for the new presented method will be performed in order to convince us of the benefits of it.
引用
收藏
页码:301 / 314
页数:14
相关论文
共 20 条
[1]   THE LONGEST COMMON SUBSEQUENCE PROBLEM REVISITED [J].
APOSTOLICO, A ;
GUERRA, C .
ALGORITHMICA, 1987, 2 (03) :315-336
[2]   A survey of longest common subsequence algorithms [J].
Bergroth, L ;
Hakonen, H ;
Raita, T .
SPIRE 2000: SEVENTH INTERNATIONAL SYMPOSIUM ON STRING PROCESSING AND INFORMATION RETRIEVAL - PROCEEDINGS, 2000, :39-48
[3]  
BERGROTH L, 2003, P SPIRE 2003 MAN BRA, P287
[4]  
BERGROTH L, 1998, P SPIRE 1998 SANT CR
[5]   PERFORMANCE ANALYSIS OF SOME SIMPLE HEURISTICS FOR COMPUTING LONGEST COMMON SUBSEQUENCES [J].
CHIN, F ;
POON, CK .
ALGORITHMICA, 1994, 12 (4-5) :293-311
[6]  
Chin F. Y. L., 1990, Journal of Information Processing, V13, P463
[7]  
GOEMANN H, P PRAG STRING CLUB W
[8]   ALGORITHMS FOR LONGEST COMMON SUBSEQUENCE PROBLEM [J].
HIRSCHBERG, DS .
JOURNAL OF THE ACM, 1977, 24 (04) :664-675
[9]   NEW ALGORITHMS FOR THE LCS PROBLEM [J].
HSU, WJ ;
DU, MW .
JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1984, 29 (02) :133-152
[10]   FAST ALGORITHM FOR COMPUTING LONGEST COMMON SUBSEQUENCES [J].
HUNT, JW ;
SZYMANSKI, TG .
COMMUNICATIONS OF THE ACM, 1977, 20 (05) :350-353