org._3pq.jgrapht.graph
Class UnmodifiableUndirectedGraph
- Graph, Serializable, Graph, UndirectedGraph
public class UnmodifiableUndirectedGraph
An undirected graph that cannot be modified.
addAllEdges , addAllVertices , addEdge , addEdge , addVertex , removeAllEdges , removeAllEdges , removeAllVertices , removeEdge , removeEdge , removeVertex |
addEdge , addEdge , addVertex , containsEdge , containsVertex , degreeOf , edgeSet , edgesOf , getAllEdges , getEdge , getEdgeFactory , inDegreeOf , incomingEdgesOf , outDegreeOf , outgoingEdgesOf , removeEdge , removeEdge , removeVertex , toString , vertexSet |
UnmodifiableUndirectedGraph
public UnmodifiableUndirectedGraph(UndirectedGraph g)
Creates a new unmodifiable undirected graph based on the specified
backing graph.
g
- the backing graph on which an unmodifiable graph is to be
created.