Efficient exponential-time algorithms for edit distance between unordered trees

2014 
The edit distance problem for rooted unordered trees is known to be NP-hard. Based on this fact, this paper studies exponential-time algorithms for the problem. For a general case, an O(min(1.26^n^"^1^+^n^"^2,2^b^"^1^+^b^"^[email protected]?poly(n"1,n"2))) time algorithm is presented, where n"1 and n"2 are the numbers of nodes and b"1 and b"2 are the numbers of branching nodes in two input trees. This algorithm is obtained by a combination of dynamic programming, exhaustive search, and maximum weighted bipartite matching. For bounded degree trees over a fixed alphabet, it is shown that the problem can be solved in O(([email protected])^n^"^1^+^n^"^2) time for any fixed @e>0. This result is achieved by avoiding duplicate calculations for identical subsets of small subtrees.
    • Correction
    • Source
    • Cite
    • Save
    • Machine Reading By IdeaReader
    21
    References
    13
    Citations
    NaN
    KQI
    []