Skip to main content

Maximum Agreement Subtree (of 2 Binary Trees)

  • Reference work entry
  • First Online:
Encyclopedia of Algorithms
  • 76 Accesses

Years and Authors of Summarized Original Work

  • 1996; Cole, Hariharan

  • 2002; Farach, Hariharan, Przytycka, Thorup

Problem Definition

Consider two rooted trees T1 and T2 with n leaves each. The internal nodes of each tree have at least two children each. The leaves in each tree are labeled with the same set of labels, and further, no label occurs more than once in a particular tree. An agreement subtree of T1 and T2 is defined as follows. Let L1 be a subset of the leaves of T1 and let L2 be the subset of those leaves of T2 which have the same labels as leaves in L1. The subtree of T1induced by L1 is an agreement subtree of T1 and T2 if and only if it is isomorphic to the subtree of T2 induced by L2. The maximum agreement subtree problem (henceforth called MAST) asks for the largest agreement subtree of T1 and T2.

The terms induced subtree and isomorphism used above need to be defined. Intuitively, the subtree of T induced by a subset L of the leaves of T is the topological subtree of T...

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 1,599.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 1,999.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Recommended Reading

  1. Amir A, Keselman D (1997) Maximum agreement subtree in a set of evolutionary trees. SIAM J Comput 26(6):1656–1669

    Article  MathSciNet  MATH  Google Scholar 

  2. Cole R, Hariharan R (1996) An \(O(n\log n)\) algorithm for the maximum agreement subtree problem for binary trees. In: Proceedings of 7th ACM-SIAM SODA, Atlanta, pp 323–332

    Google Scholar 

  3. Cole R, Farach-Colton M, Hariharan R, Przytycka T, Thorup M (2000) An \(O(n\log n)\) algorithm for the maximum agreement subtree problem for binary trees. SIAM J Comput 30(5):1385–1404

    Article  MathSciNet  MATH  Google Scholar 

  4. Farach M, Przytycka T, Thorup M (1995) The maximum agreement subtree problem for binary trees. In: Proceedings of 2nd ESA

    Google Scholar 

  5. Farach M, Przytycka T, Thorup M (1995) Agreement of many bounded degree evolutionary trees. Inf Process Lett 55(6):297–301

    Article  MathSciNet  MATH  Google Scholar 

  6. Farach M, Thorup M (1995) Fast comparison of evolutionary trees. Inf Comput 123(1):29–37

    Article  MathSciNet  MATH  Google Scholar 

  7. Farach M, Thorup M (1997) Sparse dynamic programming for evolutionary-tree comparison. SIAM J Comput 26(1):210–230

    Article  MathSciNet  MATH  Google Scholar 

  8. Finden CR, Gordon AD (1985) Obtaining common pruned trees. J Classific 2:255–276

    Article  Google Scholar 

  9. Fredman ML (1975) Two applications of a probabilistic search technique: sorting X + Y and building balanced search trees. In: Proceedings of the 7th ACM STOC, Albuquerque, pp 240–244

    Google Scholar 

  10. Harel D, Tarjan RE (1984) Fast algorithms for finding nearest common ancestors. SIAM J Comput 13(2):338–355

    Article  MathSciNet  MATH  Google Scholar 

  11. Kao M-Y (1998) Tree contractions and evolutionary trees. SIAM J Comput 27(6):1592–1616

    Article  MathSciNet  MATH  Google Scholar 

  12. Kubicka E, Kubicki G, McMorris FR (1995) An algorithm to find agreement subtrees. J Classific 12:91–100

    Article  MATH  Google Scholar 

  13. Mehlhorn K (1977) A best possible bound for the weighted path length of binary search trees. SIAM J Comput 6(2):235–239

    Article  MathSciNet  MATH  Google Scholar 

  14. Steel M, Warnow T (1993) Kaikoura tree theorems: computing the maximum agreement subtree. Inf Process Lett 48:77–82

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ramesh Hariharan .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer Science+Business Media New York

About this entry

Cite this entry

Hariharan, R. (2016). Maximum Agreement Subtree (of 2 Binary Trees). In: Kao, MY. (eds) Encyclopedia of Algorithms. Springer, New York, NY. https://doi.org/10.1007/978-1-4939-2864-4_220

Download citation

Publish with us

Policies and ethics