A practical <i>O</i>(<i>n</i> log<sup>2</sup> <i>n</i>) time algorithm for computing the triplet distance on binary trees - Danish National Research Database-Den Danske Forskningsdatabase

Sand, Andreas^{3}; Brodal, Gerth StÃ¸lting^{3}; Fagerberg, Rolf^{4}; Pedersen, Christian N. S.^{3}; Mailund, Thomas^{3}

Affiliations:

^{1} Department of Mathematics and Computer Science (IMADA), Faculty of Science, SDU^{2} Computer Science, Department of Mathematics and Computer Science (IMADA), Faculty of Science, SDU^{3} Aarhus University^{4} Department of Mathematics and Computer Science (IMADA), Faculty of Science, SDU

DOI:

10.1186/1471-2105-14-S2-S18

Abstract:

The triplet distance is a distance measure that compares two rooted trees on the same set of leaves by enumerating all sub-sets of three leaves and counting how often the induced topologies of the tree are equal or different. We present an algorithm that computes the triplet distance between two rooted binary trees in time O (n log2 n). The algorithm is related to an algorithm for computing the quartet distance between two unrooted binary trees in time O (n log n). While the quartet distance algorithm has a very severe overhead in the asymptotic time complexity that makes it impractical compared to O (n2) time algorithms, we show through experiments that the triplet distance algorithm can be implemented to give a competitive wall-time running time.

Type:

Conference paper

Language:

English

Published in:

B M C Bioinformatics, 2013, Vol 14, Issue Suppl. 2

Keywords:

Triplet distance; Binary tree

Main Research Area:

Science/technology

Publication Status:

Published

Review type:

Peer Review

Conference:

Eleventh Asia Pacific Bioinformatics ConferenceAsia-Pacific Bioinformatics Conference, 2013