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 |
---|---|
int |
degreeOf(V vertex)
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 © 2016. All rights reserved.