public class DisjointSet<T> extends Object
| Constructor and Description |
|---|
DisjointSet() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(T o) |
boolean |
contains(T o) |
Collection<T> |
elements() |
T |
find(T o) |
Collection<Set<T>> |
getEquivalanceSets() |
boolean |
isSame(T x,
T y) |
String |
toString() |
org.mindswap.pellet.utils.DisjointSet.Node<T> |
union(T x,
T y) |
public void add(T o)
public boolean contains(T o)
public Collection<T> elements()
public Collection<Set<T>> getEquivalanceSets()
Copyright © 2019. All rights reserved.