public class UnionFindSet<E> extends Object
| Constructor and Description |
|---|
UnionFindSet(Collection<E> elems) |
| Modifier and Type | Method and Description |
|---|---|
E |
find(E e) |
Collection<Set<E>> |
getDisjointSets() |
boolean |
isConnected(E e1,
E e2) |
int |
numberOfSets() |
boolean |
union(E e1,
E e2) |
Copyright © 2024 Soot OSS. All rights reserved.