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

Online Help

All Products    Maple    MapleSim


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

networks

  

countcuts

  

counts minimum network cuts of an undirected graph

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

countcuts(G)

Parameters

G

-

graph or network

Description

• 

Important: The networks package has been deprecated.  Use the superseding package GraphTheory instead.

• 

This procedure computes the number of network cutsets of minimum cardinality in an undirected multigraph.

• 

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

Examples

Important: The networks package has been deprecated.  Use the superseding package GraphTheory instead.

> 

with⁡networks:

> 

G≔petersen⁡:

> 

countcuts⁡G

2

(1)
> 

K34≔complete⁡3,4:

> 

countcuts⁡K34

4

(2)
> 

Cyc8≔new⁡:

> 

addvertex⁡AB,BC,MB,NB,NF,NS,ON,SK,Cyc8

AB,BC,MB,NB,NF,NS,ON,SK

(3)
> 

addedge⁡Cycle⁡,Cyc8:

> 

countcuts⁡Cyc8

28

(4)

See Also

GraphTheory

networks(deprecated)[connectivity]

networks(deprecated)[counttrees]