New Algorithm for Ordered Tree-to-Tree Correction Problem
New Algorithm for Ordered Tree-to-Tree Correction Problem
复制标题
有序树到树校正问题的新算法
DOI:
10.1006/jagm.2001.1170
复制
发表时间:
2001
期刊:
影响因子:
--
通讯作者:
Weimin Chen
中科院分区:
文献类型:
--
作者:
Weimin Chen
The ordered tree-to-tree correction problem is to compute the minimum edit cost of transforming one ordered tree to another one. This paper presents a new algorithm for this problem. Given two ordered trees S and T, our algorithm runs in O(|S||T|+min{L2S|T|+L2.5SLT,L2T|S|+L2.5TLS) time, where LS denotes the number of leaves of S and DS denotes the depth of S. The previous best algorithms for this problem run in O(|S||T|min{LS,DS}min{LT,DT}) time (K. Zhang and D. Shasha, SIAM J. Comput.18, No. 6 (1989), 1245?1262) and in O(min{|S|2|T|log2|T|,|T|2|S|log2|S|}) time (P. N. Klein, in “Algorithms?ESA'98, 6th Annual European Symposium” (G. Bilardi, G. F. Italiano, A. Pietracaprina, and G. Pucci, Eds.), Lecture Notes in Computer Science, Vol. 1461, pp. 91?102, Springer-Verlag, Berlin/New York, 1998). As a comparison, our algorithm is asymptotically faster for certain kind of trees.