edu.uci.ics.jung.graph.predicates
Class KPartiteEdgePredicate
java.lang.Object
edu.uci.ics.jung.graph.predicates.GPredicate
edu.uci.ics.jung.graph.predicates.EdgePredicate
edu.uci.ics.jung.graph.predicates.KPartiteEdgePredicate
- All Implemented Interfaces:
- Predicate
- public class KPartiteEdgePredicate
- extends EdgePredicate
An edge predicate that passes 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.
- Author:
- Joshua O'Madadhain
KPartiteEdgePredicate
public KPartiteEdgePredicate(Collection vertex_partitions)
evaluateEdge
public boolean evaluateEdge(ArchetypeEdge edge)
- Specified by:
evaluateEdge
in class EdgePredicate
- See Also:
EdgePredicate.evaluateEdge(edu.uci.ics.jung.graph.ArchetypeEdge)
toString
public String toString()
equals
public boolean equals(Object o)
hashCode
public int hashCode()