networks[maxdegree] - finds maximum vertex degree in a graph
|
Calling Sequence
|
|
maxdegree(G)
maxdegree(G, vname)
|
|
Parameters
|
|
G
|
-
|
graph or network
|
vname
|
-
|
vertex of maximum degree (returned)
|
|
|
|
|
Description
|
|
•
|
The total number of edges (undirected, including loops) incident at each vertex is computed, and the maximum returned.
|
•
|
If vname is specified, a vertex of max degree is returned as vname.
|
•
|
This routine is normally loaded via the command with(networks) but may also be referenced using the full name networks[maxdegree](...).
|
|
|
Download Help Document
Was this information helpful?