...
首页> 外文期刊>BMC Bioinformatics >A practical O(n log2 n) time algorithm for computing the triplet distance on binary trees
【24h】

A practical O(n log2 n) time algorithm for computing the triplet distance on binary trees

机译:一种实用的O(n log2 n)时间算法,用于计算二叉树上的三元组距离

获取原文
           

摘要

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 (n 2) time algorithms, we show through experiments that the triplet distance algorithm can be implemented to give a competitive wall-time running time.
机译:三元组距离是一种距离度量,它通过枚举三片叶子的所有子集并计算树的诱导拓扑相等或不同的频率来比较同一片叶子上的两棵有根树。我们提出了一种算法,该算法计算时间为O(n log 2 n)的两个根二叉树之间的三元组距离。该算法与用于在时间O(n log n)中计算两个无根二叉树之间的四重奏距离的算法有关。虽然四重奏距离算法在渐近时间复杂度上有非常严重的开销,这使其与O(n 2 )时间算法相比不切实际,但我们通过实验证明了三重奏可以实施距离算法以提供具有竞争力的墙面运行时间。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号