Package algs15
Interface UF
- All Known Implementing Classes:
CompressionUF
,QuickFindUF
,QuickUnionUF
,WeightedUF
,XWeightedCompressionUF
,XWeightedHalvingUF
public interface UF
The
UF
interface represents a union-find data data structure.
It supports the union and find
operations, along with a method for determining the number of
disjoint sets.-
Method Details
-
find
-
count
int count() -
connected
-
union
-
toGraphviz
void toGraphviz()
-