public class VertexPredicateFilter<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). Only those edges whose entire incident vertex collection
passes the predicate are copied into the new graph.Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Predicate<V> |
vertex_pred |
Constructor and Description |
---|
VertexPredicateFilter(com.google.common.base.Predicate<V> vertex_pred)
Creates an instance based on the specified vertex
Predicate . |
protected com.google.common.base.Predicate<V> vertex_pred
public VertexPredicateFilter(com.google.common.base.Predicate<V> vertex_pred)
Predicate
.vertex_pred
- the predicate that specifies which vertices to add to the filtered graphCopyright © 2015. All rights reserved.