Class UndirectedSubgraph

    • Constructor Detail

      • UndirectedSubgraph

        public UndirectedSubgraph​(UndirectedGraph base,
                                  java.util.Set vertexSubset,
                                  java.util.Set edgeSubset)
        Creates a new undirected 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.