A Data Structure for Nearest Common Ancestors with Linking
From MaRDI portal
Abstract: Consider a forest that evolves via operations that make the root of one tree the child of a node in another tree. Intermixed with operations are operations, which return the nearest common ancestor of two given nodes when such exists. This paper shows that a sequence of such and operations on a forest of nodes can be processed on-line in time . This was previously known only for a restricted type of operation. The special case where a only extends a tree by adding a new leaf occurs in Edmonds' algorithm for finding a maximum weight matching on a general graph. Incorporating our algorithm into the implementation of Edmonds' algorithm in cite{G17} achieves time for weighted matching, an arguably optimum asymptotic bound ( and are the number of vertices and edges, respectively).
Recommendations
- Fast Algorithms for Finding Nearest Common Ancestors
- Near-optimal labeling schemes for nearest common ancestors
- scientific article; zbMATH DE number 4047158
- The nearest common ancestor in a dynamic tree
- Nearest common ancestors: a survey and a new algorithm for a distributed environment
- Finding least common ancestors in directed acyclic graphs
- Optimal pointer algorithms for finding nearest common ancestors in dynamic trees
- Optimal Pointer Algorithms for Finding Nearest Common Ancestors in Dynamic Trees
- The heaviest induced ancestors problem: better data structures and applications
- Finding lowest common ancestors in arbitrarily directed trees
Cited in
(5)
This page was built for publication: A Data Structure for Nearest Common Ancestors with Linking
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q4554935)