public class KPartiteEdgePredicate extends EdgePredicate
Edge
s 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() |
evaluate
public KPartiteEdgePredicate(java.util.Collection vertex_partitions)
public boolean evaluateEdge(ArchetypeEdge edge)
evaluateEdge
in class EdgePredicate
EdgePredicate.evaluateEdge(edu.uci.ics.jung.graph.ArchetypeEdge)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object