Approximating Tree Edit Distance through String Edit Distance

被引:0
作者
Tatsuya Akutsu
Daiji Fukagawa
Atsuhiro Takasu
机构
[1] Kyoto University,Bioinformatics Center, Institute for Chemical Research
[2] National Institute of Informatics,undefined
来源
Algorithmica | 2010年 / 57卷
关键词
Tree edit distance; String matching; Approximation algorithms; Embedding; Euler string;
D O I
暂无
中图分类号
学科分类号
摘要
We present an algorithm to approximate edit distance between two ordered and rooted trees of bounded degree. In this algorithm, each input tree is transformed into a string by computing the Euler string, where labels of some edges in the input trees are modified so that structures of small subtrees are reflected to the labels. We show that the edit distance between trees is at least 1/6 and at most O(n3/4) of the edit distance between the transformed strings, where n is the maximum size of two input trees and we assume unit cost edit operations for both trees and strings. The algorithm works in O(n2) time since computation of edit distance and reconstruction of tree mapping from string alignment takes O(n2) time though transformation itself can be done in O(n) time.
引用
收藏
页码:325 / 348
页数:23
相关论文
共 9 条
[1]  
Akutsu T.(2006)A relation between edit distance for ordered trees and edit distance for Euler strings Inf. Process. Lett. 100 105-109
[2]  
Bille P.(2005)A survey on tree edit distance and related problem Theor. Comput. Sci. 337 217-239
[3]  
Chen W.(2001)New algorithm for ordered tree-to-tree correction problem J. Algorithms 40 135-158
[4]  
Garofalakis M.(2005)XML stream processing using tree-edit distance embedding ACM Trans. Database Syst. 30 279-332
[5]  
Kumar A.(1993)On finding common subtrees Theor. Comput. Sci. 108 345-256
[6]  
Grossi R.(1979)The tree-to-tree correction problem J. ACM 26 422-433
[7]  
Tai K.-C.(1989)Simple fast algorithms for the editing distance between trees and related problems SIAM J. Comput. 18 1245-1262
[8]  
Zhang K.(undefined)undefined undefined undefined undefined-undefined
[9]  
Shasha D.(undefined)undefined undefined undefined undefined-undefined