English

A Simple Linear-Time Algorithm for the Common Refinement of Rooted Phylogenetic Trees on a Common Leaf Set

Data Structures and Algorithms 2021-09-27 v2 Computational Complexity Combinatorics Populations and Evolution

Abstract

Background. The supertree problem, i.e., the task of finding a common refinement of a set of rooted trees is an important topic in mathematical phylogenetics. The special case of a common leaf set LL is known to be solvable in linear time. Existing approaches refine one input tree using information of the others and then test whether the results are isomorphic. Results. A linear-time algorithm, LinCR, for constructing the common refinement TT of kk input trees with a common leaf set is proposed that explicitly computes the parent function of TT in a bottom-up approach. Conclusion. LinCR is simpler to implement than other asymptotically optimal algorithms for the problem and outperforms the alternatives in empirical comparisons. Availability. An implementation of LinCR in Python is freely available at https://github.com/david-schaller/tralda.

Keywords

Cite

@article{arxiv.2107.00072,
  title  = {A Simple Linear-Time Algorithm for the Common Refinement of Rooted Phylogenetic Trees on a Common Leaf Set},
  author = {David Schaller and Marc Hellmuth and Peter F. Stadler},
  journal= {arXiv preprint arXiv:2107.00072},
  year   = {2021}
}
R2 v1 2026-06-24T03:46:56.842Z