Unique Lowest Common Ancestors in Dags Are Almost as Easy as Matrix Multiplication
Unique Lowest Common Ancestors in Dags Are Almost as Easy as Matrix Multiplication
复制标题
Dags 中独特的最低共同祖先几乎与矩阵乘法一样简单
DOI:
10.1007/978-3-540-75520-3_25
复制
发表时间:
2007
期刊:
影响因子:
--
通讯作者:
A. Lingas
中科院分区:
文献类型:
--
作者:
Miroslaw Kowaluk;A. Lingas
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 O(n2p+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(n2p).
DOI:
10.1007/978-3-540-70583-3_9
发表时间:
2008
期刊:
--
影响因子:
--
作者:
Berger M
通讯作者:
Berger M