TREE-TO-TREE CORRECTION PROBLEM

被引:456
作者
TAI, KC
机构
[1] Department of Computer Science, North Carolina State University, Raleigh, NC 27607
关键词
tree correction; tree modification; tree similarity;
D O I
10.1145/322139.322143
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The tree-to-tree correctmn problem Is to determine, for two labeled ordered trees T and T’, the distance from T to T’ as measured by the mlmmum cost sequence of edit operaUons needed to transform T into T’ The edit operations investigated allow changing one node of a tree into another node, deleting one node from a tree, or inserting a node into a tree An algorithm Is presented which solves this problem m time [formula omitted], where V and V’ are the numbers of nodes respectively of T and T’, and L and L’ are the maximum depths respectively of T and T’ Possible apphcatmns are to the problems of measuring the similarity between trees, automatic error recovery and correction for programming languages, and determining the largest common substructure of two trees. © 1979, ACM. All rights reserved.
引用
收藏
页码:422 / 433
页数:12
相关论文
共 14 条
[1]  
AHO AV, 1976, J ACM, V23, P1, DOI 10.1145/321921.321922
[2]  
FU KS, 1973, IEEE T COMPUT, VC 22, P1087, DOI 10.1109/T-C.1973.223654
[3]   ALGORITHMS FOR LONGEST COMMON SUBSEQUENCE PROBLEM [J].
HIRSCHBERG, DS .
JOURNAL OF THE ACM, 1977, 24 (04) :664-675
[4]   LINEAR SPACE ALGORITHM FOR COMPUTING MAXIMAL COMMON SUBSEQUENCES [J].
HIRSCHBERG, DS .
COMMUNICATIONS OF THE ACM, 1975, 18 (06) :341-343
[5]   FAST ALGORITHM FOR COMPUTING LONGEST COMMON SUBSEQUENCES [J].
HUNT, JW ;
SZYMANSKI, TG .
COMMUNICATIONS OF THE ACM, 1977, 20 (05) :350-353
[6]  
Knuth, 2010, COMBINATORIAL ALGORI, V4
[7]  
LOWRANCE R, 1975, J ACM, V22, P177, DOI 10.1145/321879.321880
[8]  
SANKOFF D, 1974, P NAT ACAD SCI US, V69, P4
[9]   TREE-TO-TREE EDITING PROBLEM [J].
SELKOW, SM .
INFORMATION PROCESSING LETTERS, 1977, 6 (06) :184-186
[10]  
Sellers P. H., 1974, Journal of Combinatorial Theory, Series A, V16, P253, DOI 10.1016/0097-3165(74)90050-8