Class DirectedSubgraph<V,​E>

    • Constructor Detail

      • DirectedSubgraph

        public DirectedSubgraph​(DirectedGraph<V,​E> base,
                                java.util.Set<V> vertexSubset,
                                java.util.Set<E> edgeSubset)
        Creates a new directed subgraph.
        Parameters:
        base - the base (backing) graph on which the subgraph will be based.
        vertexSubset - vertices to include in the subgraph. If null then all vertices are included.
        edgeSubset - edges to in include in the subgraph. If null then all the edges whose vertices found in the graph are included.