networks(deprecated)/outdegree - Maple Help

Online Help

All Products    Maple    MapleSim


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

networks

  

outdegree

  

find vertex outdegrees in a graph

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

outdegree(v, G)

outdegree(vset, G)

Parameters

G

-

graph or network

v

-

vertex

Description

• 

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

• 

This routine computes the out-degree of a single vertex.

• 

Both undirected and directed edges can coexist but indegree considers only genuine directed edges in computing this value. See vdegree() for the ``total degree'' of the vertex.

• 

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

Examples

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

withnetworks:

newG:

addvertex1,2,3,4,G:

addedge1,2,1,2,1,2,1,3,4,1,G:

vdegree1,G

2

(1)

indegree1,G

1

(2)

outdegree1,G

2

(3)

See Also

GraphTheory

GraphTheory[OutDegree]

networks(deprecated)[head]

networks(deprecated)[tail]

networks(deprecated)[vertices]

with