ALIGNMENT OF TREES - AN ALTERNATIVE TO TREE EDIT

被引:146
作者
JIANG, T
WANG, LS
ZHANG, KZ
机构
[1] UNIV WESTERN ONTARIO,DEPT COMP SCI,LONDON,ON N6A 5B7,CANADA
[2] MCMASTER UNIV,DEPT COMP SCI,HAMILTON,ON L8S 4K1,CANADA
[3] MCMASTER UNIV,DEPT ELECT & COMP ENGN,HAMILTON,ON L8S 4K1,CANADA
关键词
D O I
10.1016/0304-3975(95)80015-8
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
In this paper, we propose the alignment of trees as a measure of the similarity between two labeled trees. Both ordered and unordered trees are considered. An algorithm is designed for ordered trees. The time complexity of this algorithm is O(\T-1\.\T-2\.(deg(T-1) + deg(T-2))(2)), where \T-i\ is the number of nodes in T-i and deg(T-i) is the degree of T-i, i = 1, 2. The algorithm is faster than the best known algorithm for tree edit when deg(T-1) and deg(T-2) are smaller than the depths of T-1 and T-2. For unordered trees, we show that the alignment problem can be solved in polynomial time if the trees have a bounded degree and becomes MAX SNP-hard if one of the trees is allowed to have an arbitrary degree. In contrast, the edit problem for unordered trees is MAX SNP-hard even if both trees have a bounded degree (Zhang and Jiang, 1994). Finally, multiple alignment of trees is discussed.
引用
收藏
页码:137 / 148
页数:12
相关论文
共 18 条
[1]  
ARORA S, 1992, 33RD P IEEE S F COMP, P14
[2]  
Garey M.R., 1979, COMPUTERS INTRACTABI, V174
[3]   MAXIMUM BOUNDED 3-DIMENSIONAL MATCHING IS MAX SNP-COMPLETE [J].
KANN, V .
INFORMATION PROCESSING LETTERS, 1991, 37 (01) :27-35
[4]  
KILPELAINEN P, 1991, IN PRESS SIAM J COMP
[5]   TREE GRAPHS OF RNA SECONDARY STRUCTURES AND THEIR COMPARISONS [J].
LE, SY ;
NUSSINOV, R ;
MAIZEL, JV .
COMPUTERS AND BIOMEDICAL RESEARCH, 1989, 22 (05) :461-473
[6]  
LE SY, 1989, COMPUT APPL BIOSCI, V5, P205
[8]   OPTIMIZATION, APPROXIMATION, AND COMPLEXITY CLASSES [J].
PAPADIMITRIOU, CH ;
YANNAKAKIS, M .
JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1991, 43 (03) :425-440
[9]  
Sankoff D, 1983, TIME WARPS STRING ED
[10]  
SHAPIRO B, 1988, COMPUT APPL BIOSCI, P387