Package eu.bandm.tools.ops
Class EquivalenceRelation<A>
java.lang.Object
eu.bandm.tools.ops.EquivalenceRelation<A>
- All Implemented Interfaces:
Serializable
,BiPredicate<A,
A>
Finite partial equivalence relations modulo equals, implemented as
union-find trees.
- See Also:
-
Constructor Details
-
EquivalenceRelation
public EquivalenceRelation()
-
-
Method Details
-
domain
-
test
- Specified by:
test
in interfaceBiPredicate<A,
A>
-
find
-
add
-
addAll
-
union
-
addAndUnion
-
remove
-
classOf
DOCME- Parameters:
x
- must be in the domain of the graph.- Throws:
IllegalArgumentException
- if x is not in the domain of the graph
-
toString
-