org._3pq.jgrapht.graph
Class UndirectedSubgraph
- Graph, Serializable, Graph, UndirectedGraph
public class UndirectedSubgraph
An undirected graph that is a subgraph on other graph.
addEdge, addEdge, addVertex, containsEdge, containsVertex, degreeOf, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, inDegreeOf, incomingEdgesOf, isVerifyIntegrity, outDegreeOf, outgoingEdgesOf, removeEdge, removeEdge, removeVertex, setVerifyIntegrity, vertexSet |
UndirectedSubgraph
public UndirectedSubgraph(UndirectedGraph base,
Set vertexSubset,
Set edgeSubset) Creates a new undirected subgraph.
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.