Disjoint-set data structure: Difference between revisions

Content deleted Content added
Union by size: replaced "rename variables" with "swap variables"
Line 268:
* [https://github.com/jgrapht/jgrapht/blob/master/jgrapht-core/src/main/java/org/jgrapht/alg/util/UnionFind.java Java implementation], part of [https://jgrapht.org/ JGraphT library]
* [https://the-algorithms.com/algorithm/union-find Javascript implementation]
* [https://github.com/USNavalResearchLaboratory/TrackerComponentLibrary/blob/master/Container%20Classes/DisjointSet.m A Matlab Implementation] which is part of the [[Tracker Component Library]]
* [http://code.activestate.com/recipes/215912-union-find-data-structure/ Python implementation]
* [http://www.mathblog.dk/disjoint-set-data-structure/ Visual explanation and C# code]