- All Implemented Interfaces:
UF
-
Field Summary
Fields
private int
private final int[]
private final int[]
-
Constructor Summary
Constructors
-
Method Summary
boolean
int
int
static void
void
void
-
Field Details
-
Constructor Details
-
XWeightedCompressionUF
-
Method Details
-
count
- Specified by:
count
in interface UF
-
-
find
- Specified by:
find
in interface UF
-
union
public void union(int p,
int q)
- Specified by:
union
in interface UF
-
-
-
main