English
Related papers

Related papers: Computing Quartet Distance is Equivalent to Counti…

200 papers

Cubicity of a graph $G$ is the smallest dimension $d$, for which $G$ is a unit disc graph in ${\mathbb{R}}^d$, under the $l^\infty$ metric, i.e. $G$ can be represented as an intersection graph of $d$-dimensional (axis-parallel) unit…

Discrete Mathematics · Computer Science 2014-02-26 Jasine Babu , Manu Basavaraju , L Sunil Chandran , Deepak Rajendraprasad , Naveen Sivadasan

Let $T$ be an arbitrary phylogenetic tree with $n$ leaves. It is well-known that the average quartet distance between two assignments of taxa to the leaves of $T$ is $\frac 23 \binom{n}{4}$. However, a longstanding conjecture of Bandelt and…

Populations and Evolution · Quantitative Biology 2021-11-29 Sagi Snir , Osnat Weissberg , Raphael Yuster

All known algorithms for the Fr\'echet distance between curves proceed in two steps: first, they construct an efficient oracle for the decision version; second, they use this oracle to find the optimum from a finite set of critical values.…

Computational Geometry · Computer Science 2016-08-11 Kevin Buchin , Maike Buchin , Rolf van Leusden , Wouter Meulemans , Wolfgang Mulzer

We consider the problem of computing the diameter of a unicycle graph (i.e., a graph with a unique cycle). We present an O(n) time algorithm for the problem, where n is the number of vertices of the graph. This improves the previous best…

Data Structures and Algorithms · Computer Science 2020-11-20 Haitao Wang , Yiming Zhao

We study the problem of finding a temporal hybridization network for a set of phylogenetic trees that minimizes the number of reticulations. First, we introduce an FPT algorithm for this problem on an arbitrary set of $m$ binary trees with…

Data Structures and Algorithms · Computer Science 2022-11-09 Sander Borst , Leo van Iersel , Mark Jones , Steven Kelk

In this note we present an algorithm that lists all $4$-cycles in a graph in time $\tilde{O}(\min(n^2,m^{4/3})+t)$ where $t$ is their number. Notably, this separates $4$-cycle listing from triangle-listing, since the latter has a…

Data Structures and Algorithms · Computer Science 2022-11-21 Amir Abboud , Seri Khoury , Oree Leibowitz , Ron Safier

Computing the quadratic transportation metric (also called the $2$-Wasserstein distance or root mean square distance) between two point clouds, or, more generally, two discrete distributions, is a fundamental problem in machine learning,…

Data Structures and Algorithms · Computer Science 2018-12-18 Jason Altschuler , Francis Bach , Alessandro Rudi , Jonathan Weed

We consider the numerical taxonomy problem of fitting a positive distance function ${D:{S\choose 2}\rightarrow \mathbb R_{>0}}$ by a tree metric. We want a tree $T$ with positive edge weights and including $S$ among the vertices so that…

Data Structures and Algorithms · Computer Science 2022-03-14 Vincent Cohen-Addad , Debarati Das , Evangelos Kipouridis , Nikos Parotsidis , Mikkel Thorup

We consider the problem of counting 4-cycles ($C_4$) in an undirected graph $G$ of $n$ vertices and $m$ edges (in bipartite graphs, 4-cycles are also often referred to as $\textit{butterflies}$). Most recently, Wang et al. (2019, 2022)…

Data Structures and Algorithms · Computer Science 2024-10-01 Paul Burkhardt , David G. Harris

We study four-cycle counting in arbitrary order graph streams. We present a 3-pass algorithm for $(1+\varepsilon)$-approximating the number of four-cycles using $\widetilde{O}(m/\sqrt{T})$ space, where $m$ is the number of edges and $T$ the…

Data Structures and Algorithms · Computer Science 2026-04-02 Sebastian Lüderssen , Stefan Neumann , Pan Peng

While the quantum query complexity of $k$-distinctness is known to be $O\left(n^{3/4-1/4(2^k-1)}\right)$ for any constant $k \geq 4$, the best previous upper bound on the time complexity was $\widetilde{O}\left(n^{1-1/k}\right)$. We give a…

Quantum Physics · Physics 2025-03-05 Stacey Jeffery , Sebastian Zur

Let $G = (V, E)$ be an undirected connected simple graph on $n$ vertices. A cut-equivalent tree of $G$ is an edge-weighted tree on the same vertex set $V$, such that for any pair of vertices $s, t\in V$, the minimum $(s, t)$-cut in the tree…

Data Structures and Algorithms · Computer Science 2022-07-05 Tianyi Zhang

We give two new approximation algorithms to compute the fractional hypertree width of an input hypergraph. The first algorithm takes as input $n$-vertex $m$-edge hypergraph $H$ of fractional hypertree width at most $\omega$, runs in…

Data Structures and Algorithms · Computer Science 2024-10-01 Viktoriia Korchemna , Daniel Lokshtanov , Saket Saurabh , Vaishali Surianarayanan , Jie Xue

The three-in-a-tree problem is to determine if a simple undirected graph contains an induced subgraph which is a tree connecting three given vertices. Based on a beautiful characterization that is proved in more than twenty pages,…

Data Structures and Algorithms · Computer Science 2022-01-06 Kai-Yuan Lai , Hsueh-I Lu , Mikkel Thorup

Search trees on trees (STTs) generalize the fundamental binary search tree (BST) data structure: in STTs the underlying search space is an arbitrary tree, whereas in BSTs it is a path. An optimal BST of size $n$ can be computed for a given…

Data Structures and Algorithms · Computer Science 2022-09-19 Benjamin Aram Berendsohn , Ishay Golinsky , Haim Kaplan , László Kozma

We develop combinatorial methods for computing the rotation distance between binary trees, i.e., equivalently, the flip distance between triangulations of a polygon. As an application, we prove that, for each n, there exist size n trees at…

Combinatorics · Mathematics 2009-01-19 Patrick Dehornoy

Ancestral mixture model, proposed by Chen and Lindsay (2006), is an important model to build a hierarchical tree from high dimensional binary sequences. Mixture trees created from ancestral mixture models involve in the inferred…

Data Structures and Algorithms · Computer Science 2019-11-28 Justie Su-Tzu Juan , Yi-Ching Chen , Chen-Hui Lin , Shu-Chuan , Chen

Given two strings of length $n$ over alphabet $\Sigma$, and an upper bound $k$ on their edit distance, the algorithm of Myers (Algorithmica'86) and Landau and Vishkin (JCSS'88) computes the unweighted string edit distance in…

Data Structures and Algorithms · Computer Science 2023-02-09 Debarati Das , Jacob Gilbert , MohammadTaghi Hajiaghayi , Tomasz Kociumaka , Barna Saha

We study the problem of computing the diameter and the mean distance of a continuous graph, i.e., a connected graph where all points along the edges, instead of only the vertices, must be taken into account. It is known that for continuous…

Computational Geometry · Computer Science 2025-03-12 Sergio Cabello , Delia Garijo , Antonia Kalb , Fabian Klute , Irene Parada , Rodrigo I. Silveira

The Gromov-Hausdorff (GH) distance is a natural way to measure distance between two metric spaces. We prove that it is $\mathrm{NP}$-hard to approximate the Gromov-Hausdorff distance better than a factor of $3$ for geodesic metrics on a…

Computational Geometry · Computer Science 2017-06-14 Pankaj K. Agarwal , Kyle Fox , Abhinandan Nath , Anastasios Sidiropoulos , Yusu Wang