Papers
Topics
Authors
Recent
Assistant
AI Research Assistant
Well-researched responses based on relevant abstracts and paper content.
Custom Instructions Pro
Preferences or requirements that you'd like Emergent Mind to consider when generating responses.
GPT-5.1
GPT-5.1 30 tok/s
Gemini 3.0 Pro 42 tok/s
Gemini 2.5 Flash 130 tok/s Pro
Kimi K2 200 tok/s Pro
Claude Sonnet 4.5 36 tok/s Pro
2000 character limit reached

Faster Algorithms for Bounded Tree Edit Distance (2105.02428v2)

Published 6 May 2021 in cs.DS

Abstract: Tree edit distance is a well-studied measure of dissimilarity between rooted trees with node labels. It can be computed in $O(n3)$ time [Demaine, Mozes, Rossman, and Weimann, ICALP 2007], and fine-grained hardness results suggest that the weighted version of this problem cannot be solved in truly subcubic time unless the APSP conjecture is false [Bringmann, Gawrychowski, Mozes, and Weimann, SODA 2018]. We consider the unweighted version of tree edit distance, where every insertion, deletion, or relabeling operation has unit cost. Given a parameter $k$ as an upper bound on the distance, the previous fastest algorithm for this problem runs in $O(nk3)$ time [Touzet, CPM 2005], which improves upon the cubic-time algorithm for $k\ll n{2/3}$. In this paper, we give a faster algorithm taking $O(nk2 \log n)$ time, improving both of the previous results for almost the full range of $\log n \ll k\ll n/\sqrt{\log n}$.

Citations (7)

Summary

We haven't generated a summary for this paper yet.

Dice Question Streamline Icon: https://streamlinehq.com

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Lightbulb Streamline Icon: https://streamlinehq.com

Continue Learning

We haven't generated follow-up questions for this paper yet.

Authors (2)

List To Do Tasks Checklist Streamline Icon: https://streamlinehq.com

Collections

Sign up for free to add this paper to one or more collections.