TREE-TO-TREE CORRECTION PROBLEM

被引:455
作者
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 条