MCPcopy Create free account
hub / github.com/apache/commons-graph / getDegree

Method getDegree

src/main/java/org/apache/commons/graph/Graph.java:79–79  ·  view source on GitHub ↗

The degree (or valency) of a vertex of a Graph is the number of edges incident to the vertex. NOTE : implementors have to take in consideration throwing a GraphException if an error occurs while performing that operation. @param v the vertex which degree has to be returned. @

( V v )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

getDegreeMethod · 0.65
consolidateMethod · 0.65
pollMethod · 0.65
getDegreeMethod · 0.65

Implementers 4

SynchronizedGraphsrc/main/java/org/apache/commons/graph
RevertedGraphsrc/main/java/org/apache/commons/graph
InMemoryPathsrc/main/java/org/apache/commons/graph
ReverseDeleteGraphsrc/main/java/org/apache/commons/graph

Calls

no outgoing calls

Tested by

no test coverage detected