org._3pq.jgrapht.graph
public class DirectedWeightedSubgraph extends DirectedSubgraph implements WeightedGraph
Subgraph
,
Serialized FormConstructor and Description |
---|
DirectedWeightedSubgraph(WeightedGraph base,
java.util.Set vertexSubset,
java.util.Set edgeSubset)
Creates a new weighted directed subgraph.
|
addEdge, addEdge, addVertex, containsEdge, containsVertex, degreeOf, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, incomingEdgesOf, inDegreeOf, isVerifyIntegrity, outDegreeOf, outgoingEdgesOf, removeEdge, removeEdge, removeVertex, setVerifyIntegrity, vertexSet
addAllEdges, addAllVertices, assertVertexExist, containsEdge, removeAllEdges, removeAllEdges, removeAllEdges, removeAllVertices, toString, toStringFromSets
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addAllEdges, addAllVertices, addEdge, addEdge, addVertex, containsEdge, containsEdge, containsVertex, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, removeAllEdges, removeAllEdges, removeAllVertices, removeEdge, removeEdge, removeVertex, vertexSet
incomingEdgesOf, inDegreeOf, outDegreeOf, outgoingEdgesOf
public DirectedWeightedSubgraph(WeightedGraph base, java.util.Set vertexSubset, java.util.Set edgeSubset)
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.