edu.uci.ics.jung.graph.predicates
Class ReciprocatedDirectedEdgePredicate
java.lang.Object
edu.uci.ics.jung.graph.predicates.GPredicate
edu.uci.ics.jung.graph.predicates.EdgePredicate
edu.uci.ics.jung.graph.predicates.ReciprocatedDirectedEdgePredicate
- All Implemented Interfaces:
- org.apache.commons.collections.Predicate
- public class ReciprocatedDirectedEdgePredicate
- extends EdgePredicate
Returns true
if and only if this edge is
a DirectedEdge
that has an antiparallel
DirectedEdge
in this graph. Two directed
edges are antiparallel to one another if one edge's
source is the other's destination, and vice versa.
- Author:
- Joshua O'Madadhain
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
getInstance
public static ReciprocatedDirectedEdgePredicate getInstance()
toString
public java.lang.String toString()
evaluateEdge
public boolean evaluateEdge(ArchetypeEdge e)
- Specified by:
evaluateEdge
in class EdgePredicate
- See Also:
EdgePredicate.evaluateEdge(edu.uci.ics.jung.graph.ArchetypeEdge)