2005
DOI: 10.1007/11523468_20
|View full text |Cite
|
Sign up to set email alerts
|

LCA Queries in Directed Acyclic Graphs

Abstract: Abstract. We present two methods for finding a lowest common ancestor (LCA) for each pair of vertices of a directed acyclic graph (dag) on n vertices and m edges.The first method is surprisingly natural and solves the all-pairs LCA problem for the input dag on n vertices and m edges in time O(nm). As a corollary, we obtain an O(n 2 )-time algorithm for finding genealogical distances considerably improving the previously known O(n 2.575 ) timebound for this problem.The second method relies on a novel reduction … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
24
0

Year Published

2006
2006
2009
2009

Publication Types

Select...
5
1

Relationship

0
6

Authors

Journals

citations
Cited by 22 publications
(24 citation statements)
references
References 6 publications
0
24
0
Order By: Relevance
“…The first application, considered in [3], is All-Pairs Lowest Common Ancestors in directed acyclic graphs. The fastest algorithm for this problem, due to Kowaluk and Lingas [13,14], runs in O(n 2+µ ) time. We show that this problem can be easily reduced to a special case of closed-APBP.…”
Section: The New Resultsmentioning
confidence: 99%
“…The first application, considered in [3], is All-Pairs Lowest Common Ancestors in directed acyclic graphs. The fastest algorithm for this problem, due to Kowaluk and Lingas [13,14], runs in O(n 2+µ ) time. We show that this problem can be easily reduced to a special case of closed-APBP.…”
Section: The New Resultsmentioning
confidence: 99%
“…For all pairs of nodes s and t we want to compute the highest node in topological order that still has a path to both s and t. Such a node is called a least common ancestor (LCA) of s and t. The all pairs LCA problem is to determine an LCA for every pair of vertices in a DAG. In terms of n, the best algebraic algorithm for finding all pairs LCAs uses the minimum witness product and runs in O(n 2.575 ) [12,7]. Czumaj, Kowaluk, and Lingas [12,7] gave an algorithm for finding all pairs LCAs in a sparse DAG in O(mn) time.…”
Section: All Pairs Shortest Paths (Apsp)mentioning
confidence: 99%
“…In terms of n, the best algebraic algorithm for finding all pairs LCAs uses the minimum witness product and runs in O(n 2.575 ) [12,7]. Czumaj, Kowaluk, and Lingas [12,7] gave an algorithm for finding all pairs LCAs in a sparse DAG in O(mn) time. We improve this runtime to O(mn log( n 2 m )/ log n).…”
Section: All Pairs Shortest Paths (Apsp)mentioning
confidence: 99%
See 2 more Smart Citations