Authors
Tao Jiang, Lusheng Wang, Kaizhong Zhang
Publication date
1995/7/10
Journal
Theoretical Computer Science
Volume
143
Issue
1
Pages
137-148
Publisher
Elsevier
Description
In this paper, we propose the alignment of trees as a measure of the similarity between two labeled trees. Both ordered and unordered trees are considered. An algorithm is designed for ordered trees. The time complexity of this algorithm is O(|T1|·|T2·(deg(T1) + deg(T2))2), where |T1| is the number of nodes in T1 and deg(T1) is the degree of T1, i = 1.2. The algorithm is faster than the best known algorithm for tree edit when deg(T1) and deg(T2) are smaller than the depths of T1 and T2. For unordered trees, we show that the alignment problem can be solved in polynomial time if the trees have a bounded degree and becomes MAX SNP-hard if one of the trees is allowed to have an arbitrary degree. In contrast, the edit problem for unordered trees is MAX SNP-hard even if both trees have a bounded degree (Zhang and Jiang, 1994). Finally, multiple alignment of trees is discussed.
Total citations
1995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320241232115791039251816122923915203012131414691123
Scholar articles
T Jiang, L Wang, K Zhang - Theoretical computer science, 1995