networks(deprecated)/maxdegree - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : networks(deprecated)/maxdegree

networks

  

maxdegree

  

finds maximum vertex degree in a graph

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

maxdegree(G)

maxdegree(G, vname)

Parameters

G

-

graph or network

vname

-

vertex of maximum degree (returned)

Description

• 

Important:The networks package has been deprecated. Use the superseding command GraphTheory[MaximumDegree]instead.

• 

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](...).

Examples

Important:The networks package has been deprecated. Use the superseding command GraphTheory[MaximumDegree]instead.

withnetworks:

Gcomplete4:

addedge1,1,2,3,4,G

e7,e8,e9,e10,e11

(1)

maxdegreeG,large

5

(2)

large

1

(3)

mindegreeG,small

4

(4)

small

2

(5)

See Also

GraphTheory

GraphTheory[MaximumDegree]

networks(deprecated)[head]

networks(deprecated)[indegree]

networks(deprecated)[mindegree]

networks(deprecated)[outdegree]

networks(deprecated)[tail]

networks(deprecated)[vertices]

networks(deprecated)[vweight]

with