public interface UndirectedGraph extends Graph
See http://mathworld.wolfram.com/Graph.html for more on undirected and on directed graphs.
| Modifier and Type | Method and Description |
|---|---|
int |
degreeOf(java.lang.Object vertex)
Returns the degree of the specified vertex.
|
addAllEdges, addAllVertices, addEdge, addEdge, addVertex, containsEdge, containsEdge, containsVertex, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, removeAllEdges, removeAllEdges, removeAllVertices, removeEdge, removeEdge, removeVertex, vertexSetint degreeOf(java.lang.Object vertex)
vertex - vertex whose degree is to be calculated.