Safe Haskell | Safe |
---|
LSC.UnionFind
Documentation
data DisjointSet s Source #
Instances
Eq (DisjointSet s) Source # | |
Defined in LSC.UnionFind |
disjointSet :: ST s (DisjointSet s) Source #
pair :: ST s (DisjointSet s, DisjointSet s) Source #
union :: DisjointSet s -> DisjointSet s -> ST s () Source #
representation :: DisjointSet s -> ST s (DisjointSet s) Source #
equivalent :: DisjointSet s -> DisjointSet s -> ST s Bool Source #