org._3pq.jgrapht.graph

Class UnmodifiableUndirectedGraph

Implemented Interfaces:
Graph, Serializable, Graph, UndirectedGraph

public class UnmodifiableUndirectedGraph
extends UnmodifiableGraph
implements UndirectedGraph

An undirected graph that cannot be modified.
See Also:
UnmodifiableGraph

Constructor Summary

UnmodifiableUndirectedGraph(UndirectedGraph g)
Creates a new unmodifiable undirected graph based on the specified backing graph.

Method Summary

Methods inherited from class org._3pq.jgrapht.graph.UnmodifiableGraph

addAllEdges, addAllVertices, addEdge, addEdge, addVertex, removeAllEdges, removeAllEdges, removeAllVertices, removeEdge, removeEdge, removeVertex

Methods inherited from class org._3pq.jgrapht.graph.GraphDelegator

addEdge, addEdge, addVertex, containsEdge, containsVertex, degreeOf, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, inDegreeOf, incomingEdgesOf, outDegreeOf, outgoingEdgesOf, removeEdge, removeEdge, removeVertex, toString, vertexSet

Methods inherited from class org._3pq.jgrapht.graph.AbstractGraph

addAllEdges, addAllVertices, assertVertexExist, containsEdge, removeAllEdges, removeAllEdges, removeAllEdges, removeAllVertices, toString, toStringFromSets

Constructor Details

UnmodifiableUndirectedGraph

public UnmodifiableUndirectedGraph(UndirectedGraph g)
Creates a new unmodifiable undirected graph based on the specified backing graph.
Parameters:
g - the backing graph on which an unmodifiable graph is to be created.