public interface UndirectedGraph<V,E> extends Graph<V,E>
See http://mathworld.wolfram.com/Graph.html for more on undirected and on directed graphs.
|Modifier and Type||Method and Description|
Returns the degree of the specified vertex.
addEdge, addEdge, addVertex, containsEdge, containsEdge, containsVertex, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, getEdgeSource, getEdgeTarget, getEdgeWeight, removeAllEdges, removeAllEdges, removeAllVertices, removeEdge, removeEdge, removeVertex, vertexSet
int degreeOf(V vertex)
vertex- vertex whose degree is to be calculated.
Copyright © 2015. All rights reserved.