Module unionfind
petgraph
0.6.5
Module unionfind
Structs
In crate petgraph
Modules
adj
algo
csr
data
dot
graph
graphmap
matrix_graph
operator
prelude
stable_graph
unionfind
visit
Enums
Directed
Direction
Undirected
Traits
EdgeType
IntoWeightedEdge
?
Settings
Module
petgraph
::
unionfind
Copy item path
source
·
[
−
]
Expand description
UnionFind<K>
is a disjoint-set data structure.
Structs
§
UnionFind
UnionFind<K>
is a disjoint-set data structure. It tracks set membership of
n
elements indexed from
0
to
n - 1
. The scalar type is
K
which must be an unsigned integer type.