首页> 外文会议>Annual European Symposium on Algorithms(ESA 2007); 20071008-10; Eilat(IL) >Unique Lowest Common Ancestors in Dags Are Almost as Easy as Matrix Multiplication
【24h】

Unique Lowest Common Ancestors in Dags Are Almost as Easy as Matrix Multiplication

机译:达格中唯一的最低公祖先几乎和矩阵乘法一样容易

获取原文
获取原文并翻译 | 示例

摘要

We consider the problem of determining for each pair of vertices of a directed acyclic graph (dag) on n vertices whether or not it has a unique lowest common ancestor, and if so, finding such an ancestor. We show that this problem can be solved in time O(n~ω log n), where ω < 2.376 is the exponent of the fastest known algorithm for multiplication of two n × n matrices. We show also that the problem of determining a lowest common ancestor for each pair of vertices of an arbitrary dag on n vertices is solvable in time 1~O(n~2p + n~ω), where p is the minimum number of directed paths covering the vertices of the dag. With the help of random bits, we can solve the latter problem in time O(n~2p).
机译:我们考虑这样一个问题,即确定n个顶点上有向无环图(dag)的每对顶点是否具有唯一的最低公共祖先,如果是,则找到这样的祖先。我们证明了这个问题可以在时间O(n〜ωlog n)中解决,其中ω<2.376是最快的已知算法用于两个n×n矩阵相乘的指数。我们还表明,在n个顶点上为任意dag的每对顶点确定最低公共祖先的问题在1〜O(n〜2p + n〜ω)的时间内可解决,其中p是有向路径的最小数量覆盖dag的顶点。借助于随机位,我们可以在时间O(n〜2p)内解决后一个问题。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号