Skip to main content
Log in

Polynomial-Time Algorithms for the Ordered Maximum Agreement Subtree Problem

  • Published:
Algorithmica Aims and scope Submit manuscript

Abstract

For a set of rooted, unordered, distinctly leaf-labeled trees, the NP-hard maximum agreement subtree problem (MAST) asks for a tree contained (up to isomorphism or homeomorphism) in all of the input trees with as many labeled leaves as possible. We study the ordered variants of MAST where the trees are uniformly or non-uniformly ordered. We provide the first known polynomial-time algorithms for the uniformly and non-uniformly ordered homeomorphic variants as well as the uniformly and non-uniformly ordered isomorphic variants of MAST. Our algorithms run in time \(O(kn^3)\), \(O(n^3 \min \{kn,\, n+\log^{k-1}n\})\), \(O(kn^3)\), and \(O(n^3 \min \{kn,\, n+\log^{k-1}n\})\), respectively, where n is the number of leaf labels and k is the number of input trees.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Similar content being viewed by others

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Anders Dessmark, Jesper Jansson, Andrzej Lingas or Eva-Marta Lundell.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Dessmark, A., Jansson, J., Lingas, A. et al. Polynomial-Time Algorithms for the Ordered Maximum Agreement Subtree Problem. Algorithmica 48, 233–248 (2007). https://doi.org/10.1007/s00453-007-0080-9

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00453-007-0080-9

Keywords

Navigation