public class KPartiteEdgePredicate extends EdgePredicate
Edges whose endpoints
satisfy distinct elements of the Predicate collection passed in as
a parameter to the constructor. May be used as an edge constraint.isInitializationPredicate| Constructor and Description |
|---|
KPartiteEdgePredicate(java.util.Collection vertex_partitions) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
boolean |
evaluateEdge(ArchetypeEdge edge) |
int |
hashCode() |
java.lang.String |
toString() |
evaluatepublic KPartiteEdgePredicate(java.util.Collection vertex_partitions)
public boolean evaluateEdge(ArchetypeEdge edge)
evaluateEdge in class EdgePredicateEdgePredicate.evaluateEdge(edu.uci.ics.jung.graph.ArchetypeEdge)public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object