We propose and study the Maximum Constrained Agreement Subtree (MCAST) problem, which is a variant of the classical Maximum Agreement Subtree (MAST) problem. Our problem allows users to apply their domain knowledge to control the construction of the agreement subtrees in order to get better results. We show that the MCAST problem can be reduced to the MAST problem in linear time and thus we have algorithms for MCAST with running times matching the fastest known algorithms for MAST.
This is a preview of subscription content, log in to check access.
Buy single article
Instant access to the full article PDF.
Price includes VAT for USA
Subscribe to journal
Immediate online access to all issues from 2019. Subscription will auto renew annually.
This is the net price. Taxes to be calculated in checkout.
Amenta, K., Clarke, F.: A linear-time majority tree algorithm. In: Proceedings of the 3rd International Workshop on Algorithms in Bioinformatics, pp. 216–227 (2003)
Berger-Wolf, T.Y.: Online consensus and agreement of phylogenetic trees. In: Proceedings of the 4th International Workshop on Algorithms in Bioinformatics, pp. 350–361 (2004)
Cole, R., Farach, M., Hariharan, R., Przytycka, T., Thorup, M.: An O(nlog n) algorithm for the maximum agreement subtree problem for binary trees. SIAM J. Comput. 30(5), 1385–1404 (2000)
Dong, S., Kraemer, E.: Calculation, visualization and manipulation of MASTs (maximum agreement subtrees). In: Proceedings of the IEEE Computational Systems Bioinformatics Conference, pp. 1–10 (2004)
Farach, M., Thorup, M.: Optimal evolutionary tree comparison by sparse dynamic programming. In: Proceedings of the 35th Annual IEEE Symposium on Foundations of Computer Science, pp. 770–779 (1994)
Farach, M., Thorup, M.: Fast comparison of evolutionary trees. In: Proceedings of the 5th Annual ACM-SIAM Symposium on Discrete Algorithms, pp. 481–488 (1995)
Gusfield, D.: Efficient algorithms for inferring evolutionary trees. Networks 21, 19–28 (1991)
Kao, M.Y.: Tree contractions and evolutionary trees. SIAM J. Comput. 27, 1592–1616 (1998)
Kao, M.Y., Lam, T.W., Sung, W.K., Ting, H.F.: A decomposition theorem for maximum weight bipartite matchings with applications in evolution trees. In: Proceedings of the 7th Annual European Symposium on Algorithms, pp. 438–449 (1999)
Kao, M.Y., Lam, T.W., Sung, W.K., Ting, H.F.: An even faster and more unifying algorithm comparing trees via unbalanced bipartite matchings. J. Algorithms 20(2), 212–233 (2001)
Keselman, D., Amir, A.: Maximum agreement subtree in a set of evolutionary trees—metrics and efficient algorithms. In: Proceedings of 35th Annual Symposium on the Foundations of Computer Sciences, pp. 758–769 (1994)
Kubicka, E., Kubicki, G., McMorris, F.: An algorithm to find agreement subtrees. J. Classif. 12, 91–99 (1995)
Messmark, A., Jansson, J., Lingas, A., Lundell, E.: Polynomial-time algorithms for the ordered maximum agreement subtree problem. In: Proceedings of the 15th Annual Symposium on Combinatorial Pattern Matching, pp. 220–229 (2004)
Peng, Z.S., Ting, H.F.: An O(nlog n)-time algorithm for the maximum constrained agreement subtree problem for binary trees. In: Proceedings of the 15th Symposium on Algorithms and Computations, pp. 754–765 (2004)
Przytycka, T.: Sparse dynamic programming for maximum agreement subtree problem. In: Mathematical Hierarchies and Biology. DIMACS Series in Discrete Mathematics and Theoretical Computer Science, pp. 249–264 (1997)
Steel, M., Warnow, T.: Kaikoura tree theorems: computing the maximum agreement subtree. Inf. Process. Lett. 48(2), 77–82 (1994)
Steele, J.M.: The Cauchy-Schwarz Master Class: An Introduction to the Art of Mathematical Inequalities. Cambridge University Press, Cambridge (2004)
Warnow, T.J.: Tree compatibility and inferring evolutionary history. J. Algorithms 16(3), 388–407 (1994)
A preliminary version of this paper appears in the Proceedings of the Fifth Workshop on Algorithms in Bioinformatics (WABI 2005).
Research of H.F. Ting is supported in part by Hong Kong RGC Grant HKU-7172/06E.
About this article
Cite this article
Berry, V., Peng, Z.S. & Ting, H.F. From Constrained to Unconstrained Maximum Agreement Subtree in Linear Time. Algorithmica 50, 369–385 (2008). https://doi.org/10.1007/s00453-007-9084-8
- Maximum agreement subtrees
- Constrained maximum agreement subtrees
- Evolutionary trees