An \(O(n \log n)\) Time Algorithm for Computing the Path-Length Distance Between Trees
- 18 Downloads
Tree comparison metrics have proven to be an invaluable aide in the reconstruction and analysis of phylogenetic (evolutionary) trees. The path-length distance between trees is a particularly attractive measure as it reflects differences in tree shape as well as differences between branch lengths. The distance equals the sum, over all pairs of taxa, of the squared differences between the lengths of the unique path connecting them in each tree. We describe an \(O(n \log n)\) time for computing this distance, making extensive use of tree decomposition techniques introduced by Brodal et al. (Algorithmica 38(2):377–395, 2004).
KeywordsPhylogeny Tree comparison metrics Path-length metric Tree decomposition
Mathematics Subject Classification68Q25 92D15 05CO5
This research was made possible due to travel funds made available from a Marsden Grant to DB. Both authors thank David Swofford for help finding an error in an earlier version of Proposition 1.
- 4.Bryant, D., Waddell, P.: Rapid evaluation of least squares and minimum evolution criteria on phylogenetic trees. Mol. Biol. Evol. 15(10), 1346–1359 (1997)Google Scholar
- 6.Farris, J.S.: A successive approximations approach to character weighting. Syst. Biol. 18(4), 374–385 (1969)Google Scholar
- 8.Hillis, D.M., Heath, T.A., John, K.S.: Analysis and visualization of tree space. Syst. Biol. 54(3), 471–482 (2005)Google Scholar
- 9.Holmes, S.: Statistical approach to tests involving phylogenies. In: Gascuel, O. (ed.) Mathematics of Phylogeny and Evolution, chap. 4, pp. 91–117. New York: Oxford University Press (2005)Google Scholar
- 10.Lapointe, F.J., Cucumel, G.: The average consensus procedure: combination of weighted trees containing identical or overlapping sets of taxa. Syst. Biol. 46(2), 306–312 (1997)Google Scholar
- 11.Penny, D., Watson, E.E., Steel, M.A.: Trees from languages and genes are very similar. Syst. Biol. 42(3), 382–384 (1993)Google Scholar
- 13.Susko, E.: Improved least squares topology testing and estimation. Syst. Biol. 60(5), 668–675 (2011)Google Scholar
- 14.Swofford, D.L.: When are phylogeny estimates from molecular and morphological data incongruent? In: Miyamoto, M.M., Cracraft, J. (eds.) Phylogenetic Analysis of DNA Sequences, pp. 295–333. Oxford University Press, Oxford (1991)Google Scholar
- 15.Williams, W.T., Clifford, H.T.: On the comparison of two classifications of the same set of elements. Taxon 20(4), 519–522 (1971)Google Scholar