AlgorithmsData structuresEdit on GitHubEdit history
Disjoint-Set Union
disjoint set, DSU, union-find1964
A data structure that represents elements as trees of disjoint sets, performing union and find-representative operations in nearly constant time.
Origin
Lineage
Derived algorithms
Structural analysisThe LINK and EVAL operations of Lengauer–Tarjan use the same path-compression technique as union–find.
Structural analysisMerging label equivalences in two-pass connected-component labeling is implemented with a disjoint-set structure
Author statementThe paper implements region merging with a disjoint-set forest using path compression and union by rank — doi:10.1023/B:VISI.0000022288.19776.77
Author statementTarjan handled offline LCA queries with a union–find structure using path compression. — doi:10.1145/322154.322161
Author statementSteensgaard's analysis merges equivalence classes with a union–find structure to obtain almost linear time. — doi:10.1145/237721.237727
Notable implementations
No implementations registered yet. Try a repo scan to find some. Repo scan
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…