Searcharxiv⌕ Search

arXiv · 2611.27160

Balanced Divide and Conquer for Rooted Maximum Agreement Forests

Abstract

We develop a balanced divide-and-conquer framework for the maximum agreement forest problem on rooted binary phylogenetic tree--forest instances. The goal is a common subforest with the fewest components; budget $k$ bounds the increase relative to the input forest. We balance edges associated with an unknown optimum to obtain three subproblems with smaller budgets. Branching separates the inputs, while temporary marker leaves allow a global optimum to be recovered from independently computed optimal solutions. For any fixed $B>φ=(1+\sqrt5)/2$, the framework converts a tree--forest solver running in $O^*(B^k)$ time into one running in $O^*((\sqrt{φB})^k)$ time. Starting from an $O^*(2.3391^k)$-time solver, two applications yield an $O^*(1.7743^{k^*})$-time fixed-parameter algorithm for two trees, where $k^*$ is the number of components in a maximum agreement forest minus one. For every fixed $\varepsilon>0$, a fixed number of applications yields $O^*((φ+\varepsilon)^{k^*})$ time. Here $O^*$ suppresses polynomial factors, whose degree and constants may depend on $\varepsilon$.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Feng Shi, Yexin Peng, Xin Zeng, Jingyi Liu, Qilong Feng, Jianxin Wang. 2026-11-20. Balanced Divide and Conquer for Rooted Maximum Agreement Forests. https://searcharxiv.com/abs/2611.27160

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Searcharxiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Space-Efficient Interior Point Method, with applications to Linear Programming and Maximum Weight Bipartite Matching

We study the problem of solving linear programs in the streaming model. Given a constraint matrix $A\in\mathbb{R}^{m\times n}$ and vectors $b\in\mathbb{R}^m, c\in\mathbb{R}^n$, we develop a space-efficient interior point method that optimizes solely on the dual program. To this end, we obtain efficient algorithms for various different problems. For general linear programs whose feasible region lies in a ball of radius $R$ and contains a ball of radius $r$ with known center, we can solve them in $\widetilde{O}(\sqrt{n}\log(mR^2\|c\|_2/(rε)))$ passes and $\widetilde{O}(n^2)$ space for an $ε$-approximate solution. To the best of our knowledge, this is the most efficient LP solver in streaming with no polynomial dependence on $m$ for both space and passes. For bipartite graphs, we can solve the minimum vertex cover and maximum weight matching problems (with polynomially bounded integer weights) in $\widetilde{O}(\sqrt{m})$ passes and $\widetilde{O}(n)$ space. In addition to our space-efficient IPM, we also give algorithms for solving SDD systems and the isolation lemma in $\widetilde{O}(n)$ space, which are the cornerstones for our graph results.

cs.DS↗

Faster algorithms for packing forests in graphs and related problems

We consider several problems related to packing forests in graphs. The first one is to find $k$ edge-disjoint forests of maximum size in a directed graph $G$ such that the indegree of each vertex in these forests is at most $k$. We describe a min-max characterization for this problem and show that it can be solved in almost linear time for fixed $k$, extending the algorithm of [Gabow, 1995]. Specifically, the complexity is $O(k δm \log n)$, where $n, m$ are the numbers of vertices and edges in $G$, respectively, and $δ= \max\{1, k - k_G\}$, where $k_G$ is the edge connectivity of the graph. Using our solution to this problem, we obtain algorithms for two applications: (1) The $k$-forest problem: find $k$ forests in an undirected graph $G$ maximizing the number of edges in their union. We show how to solve this problem in $O(k^3 \min\{kn, m\} \log^2 n + k \cdot{\rm MAXFLOW}(m, m) \log n)$ time, breaking the $O_k(n^{3/2})$ complexity barrier of previously known approaches. (2) The Directed edge-connectivity augmentation problem: find a smallest set of directed edges whose addition to the given directed graph makes it strongly $k$-connected. We give a deterministic algorithm with complexity $O(k δm \log n)+T_{\rm split}$, where $T_{\rm split}$ is the time to split off one vertex in a graph with $O(m+δn)$ edges while preserving strong connectivity among the original vertices. For Eulerian directed graphs, the total complexity is $O(k δm \log n)$. A similar approach solves the undirected version of the problem in $O(k δm \log n)$ time.

cs.DS↗

LZD-style Compression Scheme with Truncation and Repetitions

Lempel-Ziv-Double (LZD) is a variation of the LZ78 compression scheme that achieves better compression on repetitive datasets. Nevertheless, prior research has identified computational inefficiencies and a weakness in its compressibility for certain datasets. In this paper, we introduce LZD+, an enhancement of LZD, which enables expected linear-time online compression by allowing truncated references. To address the compressibility weakness exhibited by a lower bound example, we propose LZDR}(LZD-runlength compressed), a further enhancement on top of LZD+, which introduces a repetition-based factorization rule while maintaining linear expected time complexity for offline compression. Both time bounds can be de-randomized by a lookup data structure like a balanced search tree with a logarithmic dependency on the alphabet size. We prove that LZD+ and LZDR, like LZD, have an approximation ratio of $Ω(n^{1/3})$ with respect to the smallest grammar, already on a single family of binary strings. Conversely, all three produce $O(n^{2/3}δ^{1/3})$ factors, where $δ$ is the substring complexity of the text. Additionally, we present three flexible parsing variants of LZDR that yield fewer factors in practice; for one of them, we prove that it never yields more factors than greedy LZDR. Comprehensive benchmarking on standard corpora reveals that LZD+, LZDR, and its flexible variants outperform existing LZ-based methods in the number of factors while keeping competitive runtime efficiency. However, we note that the difference in the number of factors becomes marginal for large datasets like those of the Pizza&Chili corpus.

cs.DS↗