public class EdgePredicateFilter<V,E> extends Object implements Filter<V,E>
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).Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Predicate<E> |
edge_pred |
Constructor and Description |
---|
EdgePredicateFilter(com.google.common.base.Predicate<E> edge_pred)
Creates an instance based on the specified edge
Predicate . |
protected com.google.common.base.Predicate<E> edge_pred
public EdgePredicateFilter(com.google.common.base.Predicate<E> edge_pred)
Predicate
.edge_pred
- the predicate that specifies which edges to add to the filtered graphCopyright © 2015. All rights reserved.