Affiliation:
1. University of Salzburg, Salzburg, Austria
Abstract
We consider the classical tree edit distance between ordered labelled trees, which is defined as the minimum-cost sequence of node edit operations that transform one tree into another. The state-of-the-art solutions for the tree edit distance are not satisfactory. The main competitors in the field either have optimal worst-case complexity but the worst case happens frequently, or they are very efficient for some tree shapes but degenerate for others. This leads to unpredictable and often infeasible runtimes. There is no obvious way to choose between the algorithms.
In this article we present RTED, a robust tree edit distance algorithm. The asymptotic complexity of our algorithm is smaller than or equal to the complexity of the best competitors for any input instance, that is, our algorithm is both efficient and worst-case optimal. This is achieved by computing a dynamic decomposition strategy that depends on the input trees. RTED is shown optimal among all algorithms that use LRH (
left-right-heavy
) strategies, which include RTED and the fastest tree edit distance algorithms presented in literature. In our experiments on synthetic and real-world data we empirically evaluate our solution and compare it to the state-of-the-art.
Funder
RARE project funded by the Autonomous Province of Bolzano-South Tyrol, Italy
SyRA project of the Free University of Bozen-Bolzano, Italy
Publisher
Association for Computing Machinery (ACM)
Cited by
76 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Semi-supervised Crowdsourced Test Report Clustering via Screenshot-Text Binding Rules;Proceedings of the ACM on Software Engineering;2024-07-12
2. Effective, Platform-Independent GUI Testing via Image Embedding and Reinforcement Learning;ACM Transactions on Software Engineering and Methodology;2024-06-21
3. Mccatch: Scalable Microcluster Detection in Dimensional and Nondimensional Datasets;2024 IEEE 40th International Conference on Data Engineering (ICDE);2024-05-13
4. Improving Quality and Domain-Relevancy of Paraphrase Generation with Graph-Based Retrieval Augmented Generation;Proceedings of the 2024 10th International Conference on Computing and Artificial Intelligence;2024-04-26
5. Enhancing Text-to-SQL Translation for Financial System Design;Proceedings of the 46th International Conference on Software Engineering: Software Engineering in Practice;2024-04-14