BiologyComputer ScienceMathematics

Virginia Ardévol Martínez, S. Chaplick, S. Kelk, Ruben Meuwese, Matús Mihalák, G. Stamoulis

2026.3.2Journal of Graph Algorithms and Applications

DOI: 10.7155/jgaa.v30i1.2962

tlooto Summary

It is proved that it is NP-hard to compute MRAF, by reducing from the problem of partitioning a permutation into a minimum number of monotonic subsequences (PIMS), and it is shown that MRAF has a O(log n)-approximation algorithm where n = |X| and permits exact algorithms with single-exponential running time.

Abstract

The phylogenetic inference process can produce, for multiple reasons, conflicting hypotheses of the evolutionary history of a set X of biological entities, i.e., phylogenetic trees with the same set of leaf labels X but with distinct topologies. It is natural to wishto quantify the difference between two such trees T1 and T2. We introduce the problem of computing a maximum relaxed agreement forest (MRAF) and use this as a proxy for the dissimilarity of T1 and T2, which in this article we assume to be unrooted and binary. MRAF asks for a partition of the leaf labels X into a minimum number of blocks S1, . . . , Sk such that the two subtrees induced in T1 and T2 by every Si are isomorphic up to suppression of degree-2 nodes and taking the labels X into account. Unlike the  earlier introduced maximum agreement forest (MAF) model, the subtrees induced by the Si are allowed to overlap. We prove that it is NP-hard to compute MRAF, by reducing from the problem of partitioning a permutation into a minimum number of monotonic subsequences (PIMS). We further show that MRAF has a O(log n)-approximation algorithm where n = |X| and permits exact algorithms with single-exponential running time. When one of the trees is a caterpillar, we prove that testing whether a MRAF has size at most k can be answered in polynomial time when k is fixed. We also note that on two caterpillars the approximability of MRAF is related to that of PIMS. Finally, we establish a number of bounds on MRAF, compare its behaviour to MAF both theoretically and experimentally and discuss a number of open problems.

Citation format

MARTÍNEZ, Virginia Ardévol, et al. Relaxed agreement forests of phylogenetic trees. Journal of Graph Algorithms and Applications, 2026, 30(1): 25–46.