UnionFind
instead.public class UnionFindForVariables
extends java.lang.Object
Constructor and Description |
---|
UnionFindForVariables(java.util.List<Variable> inputVariables)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCurrentPartitionsFormatted()
Deprecated.
|
java.util.Set<Variable> |
getPartitionOfVariable(Variable var)
Deprecated.
|
java.util.Collection<java.util.Set<Variable>> |
getPartitions()
Deprecated.
|
boolean |
isMoreThanOneUnion()
Deprecated.
|
boolean |
isSameUnion(java.util.Set<Variable> variables)
Deprecated.
|
void |
removeVariable(Variable variable)
Deprecated.
|
void |
unite(java.util.Set<Variable> variables)
Deprecated.
|
public UnionFindForVariables(java.util.List<Variable> inputVariables)
inputVariables
- which are assumed to be disjoint at the startpublic boolean isSameUnion(java.util.Set<Variable> variables)
variables
- public void unite(java.util.Set<Variable> variables)
variables
- places the input variables in to the same union/setpublic java.lang.String getCurrentPartitionsFormatted()
public boolean isMoreThanOneUnion()
public void removeVariable(Variable variable)
public java.util.Collection<java.util.Set<Variable>> getPartitions()