An Algorithm for Comparing Similarity Between Two Trees
Abstract
An important problem in geometric computing is defining and computing similarity between two geometric shapes, e.g. point sets, curves and surfaces, etc. Important geometric and topological information of many shapes can be captured by defining a tree structure on them (e.g. medial axis and contour trees). Hence, it is natural to study the problem of comparing similarity between trees. We study gapped edit distance between two ordered labeled trees, first proposed by Touzet Touzet2003. Given two binary trees T1 and T2 with m and n nodes. We compute the general gap edit distance in O(m3n2 + m2n3) time. The computation of this distance in the case of arbitrary trees has shown to be NP-hard Touzet2003. We also give an algorithm for computing the complete subtree gap edit distance, which can be applied to comparing contour trees of terrains in R3.
Turn this paper into a lesson
ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.