networks
mindegree
finds minimum vertex degree in a graph
Calling Sequence
Parameters
Description
Examples
mindegree(G)
mindegree(G, vname)
G
-
graph or network
vname
vertex of minimum degree (returned)
Important:The networks package has been deprecated. Use the superseding command GraphTheory[MinimumDegree]instead.
The total number of edges (undirected, including loops) incident at each vertex is computed, and the minimum of these values is returned.
If a name vname is specified it is assigned the name of a vertex of minimum degree.
This routine is normally loaded via the command with(networks) but may also be referenced using the full name networks[mindegree](...).
with⁡networks:
G≔complete⁡4:
addedge⁡1,1,2,3,4,G
e7,e8,e9,e10,e11
maxdegree⁡G,large
5
large
1
mindegree⁡G,small
4
small
2
See Also
GraphTheory
GraphTheory[MinimumDegree]
networks(deprecated)[head]
networks(deprecated)[indegree]
networks(deprecated)[maxdegree]
networks(deprecated)[neighbors]
networks(deprecated)[outdegree]
networks(deprecated)[tail]
networks(deprecated)[vertices]
networks(deprecated)[vweight]
with
Download Help Document