- All Implemented Interfaces:
- Filter<V,E>, org.apache.commons.collections4.Transformer<edu.uci.ics.jung.graph.Graph<V,E>,edu.uci.ics.jung.graph.Graph<V,E>>
public class EdgePredicateFilter<V,E>
extends java.lang.Object
implements Filter<V,E>
Transforms the input graph into one which contains only those edges
that pass the specified Predicate
. The filtered graph
is a copy of the original graph (same type, uses the same vertex and
edge objects). All vertices from the original graph
are copied into the new graph (even if they are not incident to any
edges in the new graph).