CONSTRAINED TREE EDITING

Authors
Citation
Bj. Oommen et W. Lee, CONSTRAINED TREE EDITING, Information sciences, 77(3-4), 1994, pp. 253-273
Citations number
12
Categorie Soggetti
Information Science & Library Science","Computer Science Information Systems
Journal title
ISSN journal
00200255
Volume
77
Issue
3-4
Year of publication
1994
Pages
253 - 273
Database
ISI
SICI code
0020-0255(1994)77:3-4<253:CTE>2.0.ZU;2-X
Abstract
The distance between two ordered labeled trees is considered to be the minimum sum of the weights associated with the edit operations (inser tion, deletion, and substitution) required to transform one tree to an other. The problem of computing this distance and the optimal transfor mation using no edit constraints has been studied in the literature [3 , 4, 7-9, 11]. In this paper, we consider the problem of transforming one tree T1 to another tree T2 using any arbitrary edit constraint inv olving the number and type of edit operations to be performed. An algo rithm to compute this constrained distance is presented. If for a tree T, Span(T) is defined as the Min(Depth(T),Leaves(T)), the time and sp ace complexities of this algorithm are: Time: O(\T1\ \T2\* (Min{\T1\ , \T2\})2 Span(T1) * Span(T2)) Space: O(\T1\* \T2\* Min{\T1\, \T2\))