A Data Structure for Nearest Common Ancestors with Linking
Harold N. Gabow

TL;DR
This paper introduces an efficient data structure for processing nearest common ancestor and linking operations in dynamic forests, improving performance for algorithms like Edmonds' maximum weight matching.
Contribution
It presents a new on-line algorithm for NCA and link operations in forests with improved time complexity, applicable to weighted matching algorithms.
Findings
Achieves $O(m ext{alpha}(m,n)+n)$ time for NCA and link operations
Integrates into Edmonds' algorithm for maximum weight matching
Attains near-optimal asymptotic bounds for weighted matching
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).
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAlgorithms and Data Compression · Error Correcting Code Techniques · Advanced Graph Theory Research
