Class FilteredSubGraph<N,E>

java.lang.Object
cdc.graphs.impl.FilteredSubGraph<N,E>
Type Parameters:
N - Node class
E - Edge class
All Implemented Interfaces:
GraphAdapter<N,E>

public class FilteredSubGraph<N,E> extends Object implements GraphAdapter<N,E>
Graph built from an underlying graph, by applying filters to nodes and edges.

It is the user responsibility to provide consistent filters. If the edge filter gives a positive answer for an edge, then the corresponding nodes should also be accepted.

Author:
Damien Carbonne