Close
Close window
networks(deprecated)/mindegree - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


Home : Support : Online Help : networks(deprecated)/mindegree
[フレーム] [フレーム]

networks

mindegree

finds minimum vertex degree in a graph

Calling Sequence

mindegree(G)

mindegree(G, vname)

Parameters

G

-

graph or network

vname

-

vertex of minimum degree (returned)

Description

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

Examples

Important:The networks package has been deprecated . Use the superseding command GraphTheory[MinimumDegree] 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)


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /