public class ReciprocatedDirectedEdgePredicate extends EdgePredicate
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.isInitializationPredicate
Modifier | Constructor and Description |
---|---|
protected |
ReciprocatedDirectedEdgePredicate() |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluateEdge(ArchetypeEdge e) |
static ReciprocatedDirectedEdgePredicate |
getInstance() |
java.lang.String |
toString() |
evaluate
public static ReciprocatedDirectedEdgePredicate getInstance()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean evaluateEdge(ArchetypeEdge e)
evaluateEdge
in class EdgePredicate
EdgePredicate.evaluateEdge(edu.uci.ics.jung.graph.ArchetypeEdge)