Class DirectedWeightedSubgraph

    • Constructor Detail

      • DirectedWeightedSubgraph

        public DirectedWeightedSubgraph​(WeightedGraph base,
                                        java.util.Set vertexSubset,
                                        java.util.Set edgeSubset)
        Creates a new weighted 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.