networks(deprecated)/degreeseq - Help

Online Help

All Products    Maple    MapleSim


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

networks[degreeseq] - find the degree sequence of a graph

Calling Sequence

degreeseq(G)

Parameters

G

-

graph or network

Description

• 

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

• 

This routine returns a list of vertex degrees sorted into ascending order.

• 

This routine is normally loaded via the command with(networks) but may also be referenced using the full name networks[degreeseq](...).

Examples

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

withnetworks:

G:=complete4:

degreeseqG

3,3,3,3

(1)

G:=random5:

endsG

1,2,1,3,1,4,2,3,3,5

(2)

degreeseqG

1,1,2,3,3

(3)

See Also

GraphTheory, GraphTheory[DegreeSequence], networks(deprecated)[maxdegree], networks(deprecated)[mindegree], networks(deprecated)[vdegree], with


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam