English
Related papers

Related papers: Faster Algorithms for Bounded Tree Edit Distance

200 papers

In the Min $k$-Cut problem, input is an edge weighted graph $G$ and an integer $k$, and the task is to partition the vertex set into $k$ non-empty sets, such that the total weight of the edges with endpoints in different parts is minimized.…

Data Structures and Algorithms · Computer Science 2020-09-15 Daniel Lokshtanov , Saket Saurabh , Vaishali Surianarayanan

The width measure \emph{treedepth}, also known as vertex ranking, centered coloring and elimination tree height, is a well-established notion which has recently seen a resurgence of interest. We present an algorithm which---given as input…

Data Structures and Algorithms · Computer Science 2014-08-21 Felix Reidl , Peter Rossmanith , Fernando Sanchez Villaamil , Somnath Sikdar

While obtaining optimal algorithms for the most important problems in the LOCAL model has been one of the central goals in the area of distributed algorithms since its infancy, tight complexity bounds are elusive for many problems even when…

Distributed, Parallel, and Cluster Computing · Computer Science 2025-05-06 Sebastian Brandt , Ananth Narayanan

Given a graph $G = (V, E)$, we wish to compute a spanning tree whose maximum vertex degree, i.e. tree degree, is as small as possible. Computing the exact optimal solution is known to be NP-hard, since it generalizes the Hamiltonian path…

Data Structures and Algorithms · Computer Science 2020-06-02 Ran Duan , Haoqing He , Tianyi Zhang

Edit distance is a measure of similarity of two strings based on the minimum number of character insertions, deletions, and substitutions required to transform one string into the other. The edit distance can be computed exactly using a…

Data Structures and Algorithms · Computer Science 2021-02-17 Diptarka Chakraborty , Debarati Das , Elazar Goldenberg , Michal Koucky , Michael Saks

We give practical, efficient algorithms that automatically determine the asymptotic distributed round complexity of a given locally checkable graph problem in the $[\Theta(\log n), \Theta(n)]$ region, in two settings. We present one…

Distributed, Parallel, and Cluster Computing · Computer Science 2022-09-05 Alkida Balliu , Sebastian Brandt , Yi-Jun Chang , Dennis Olivetti , Jan Studený , Jukka Suomela

k-means is a widely used clustering algorithm, but for $k$ clusters and a dataset size of $N$, each iteration of Lloyd's algorithm costs $O(kN)$ time. Although there are existing techniques to accelerate single Lloyd iterations, none of…

Data Structures and Algorithms · Computer Science 2016-01-18 Ryan R. Curtin

Gomory-Hu tree [Gomory and Hu, 1961] is a succinct representation of pairwise minimum cuts in an undirected graph. When the input graph has general edge weights, classic algorithms need at least cubic running time to compute a Gomory-Hu…

Data Structures and Algorithms · Computer Science 2021-12-03 Tianyi Zhang

The capacitated tree cover problem with edge loads is a variant of the tree cover problem, where we are given facility opening costs, edge costs and loads, as well as vertex loads. We try to find a tree cover of minimum cost such that the…

Data Structures and Algorithms · Computer Science 2024-04-17 Benjamin Rockel-Wolff

We study the Euclidean minimum weight perfect matching problem for $n$ points in the plane. It is known that any deterministic approximation algorithm whose approximation ratio depends only on $n$ requires at least $\Omega(n \log n)$ time.…

Computational Geometry · Computer Science 2026-01-09 Stefan Hougardy , Karolina Tammemaa

Given a graph, the sparsest cut problem asks for a subset of vertices whose edge expansion (the normalized cut given by the subset) is minimized. In this paper, we study a generalization of this problem seeking for $ k $ disjoint subsets of…

Data Structures and Algorithms · Computer Science 2017-02-21 Ramin Javadi , Saleh Ashkboos

The last decade brought a significant increase in the amount of data and a variety of new inference methods for reconstructing the detailed evolutionary history of various cancers. This brings the need of designing efficient procedures for…

Data Structures and Algorithms · Computer Science 2020-04-30 Giulia Bernardini , Paola Bonizzoni , Paweł Gawrychowski

Given a set of $n$ real numbers, the 3SUM problem is to decide whether there are three of them that sum to zero. Until a recent breakthrough by Gr{\o}nlund and Pettie [FOCS'14], a simple $\Theta(n^2)$-time deterministic algorithm for this…

Data Structures and Algorithms · Computer Science 2017-03-07 Omer Gold , Micha Sharir

We connect the problem of properly PAC learning decision trees to the parameterized Nearest Codeword Problem ($k$-NCP). Despite significant effort by the respective communities, algorithmic progress on both problems has been stuck: the…

Computational Complexity · Computer Science 2024-09-27 Caleb Koch , Carmen Strassle , Li-Yang Tan

Rotation distance between rooted binary trees measures the number of simple operations it takes to transform one tree into another. There are no known polynomial-time algorithms for computing rotation distance. We give an efficient,…

Data Structures and Algorithms · Computer Science 2018-03-19 Sean Cleary , Katherine St. John

A new method for constructing minimum-redundancy binary prefix codes is described. Our method does not explicitly build a Huffman tree; instead it uses a property of optimal prefix codes to compute the codeword lengths corresponding to the…

Data Structures and Algorithms · Computer Science 2016-09-30 Ahmed Belal , Amr Elmasry

This paper addresses the problem of finding a representation of a subtree distance, which is an extension of the tree metric. We show that a minimal representation is uniquely determined by a given subtree distance, and give a linear time…

Data Structures and Algorithms · Computer Science 2019-02-26 Takanori Maehara , Kazutoshi Ando

In this paper, we present a novel heuristic algorithm for the stable but NP-complete deformation-based edit distance on merge trees. Our key contribution is the introduction of a user-controlled look-ahead parameter that allows to trade off…

Computational Geometry · Computer Science 2025-01-13 Florian Wetzels , Heike Leitte , Christoph Garth

We consider the problem of designing sublinear time algorithms for estimating the cost of a minimum metric traveling salesman (TSP) tour. Specifically, given access to a $n \times n$ distance matrix $D$ that specifies pairwise distances…

Data Structures and Algorithms · Computer Science 2020-06-11 Yu Chen , Sampath Kannan , Sanjeev Khanna

Codes over trees were introduced recently to bridge graph theory and coding theory with diverse applications in computer science and beyond. A central challenge lies in determining the maximum number of labelled trees over $n$ nodes with…

Combinatorics · Mathematics 2025-04-10 Yanzhi Li , Wenjie Zhong , Tingting Chen , Xiande Zhang