public class EdgePredicateFilter extends GeneralEdgeAcceptFilter
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.collections.Predicate |
predicate |
| Constructor and Description |
|---|
EdgePredicateFilter(EdgePredicate ep) |
EdgePredicateFilter(org.apache.commons.collections.Predicate p) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptEdge(Edge e)
Determines whether the current edge should be accepted
into the Graph.
|
java.lang.String |
getName()
Gets a name that describes this filter.
|
filter, filterpublic EdgePredicateFilter(EdgePredicate ep)
public EdgePredicateFilter(org.apache.commons.collections.Predicate p)
public boolean acceptEdge(Edge e)
GeneralEdgeAcceptFilteracceptEdge in class GeneralEdgeAcceptFiltere - the input edge that is being evaluated.GeneralVertexAcceptFilter.acceptVertex(edu.uci.ics.jung.graph.Vertex)public java.lang.String getName()
FilterGraphAssemblyRecordFilter.getName()