org._3pq.jgrapht.graph
Class SimpleGraph
- Cloneable, Graph, Serializable, UndirectedGraph
A simple graph. A simple graph is an undirected graph for which at most one
edge connects any two vertices, and loops are not permitted. If you're
unsure about simple graphs, see:
http://mathworld.wolfram.com/SimpleGraph.html.
addEdge , addEdge , addVertex , clone , containsEdge , containsVertex , degreeOf , edgeSet , edgesOf , getAllEdges , getEdge , getEdgeFactory , inDegreeOf , incomingEdgesOf , isAllowingLoops , isAllowingMultipleEdges , outDegreeOf , outgoingEdgesOf , removeEdge , removeEdge , removeVertex , setEdgeListFactory , vertexSet |
SimpleGraph
public SimpleGraph()
Creates a new simple graph.
SimpleGraph
public SimpleGraph(EdgeFactory ef)
Creates a new simple graph with the specified edge factory.
ef
- the edge factory of the new graph.