networks
countcuts
counts minimum network cuts of an undirected graph
Calling Sequence
Parameters
Description
Examples
countcuts(G)
G
-
graph or network
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](...).
with⁡networks:
G≔petersen⁡:
countcuts⁡G
2
K34≔complete⁡3,4:
countcuts⁡K34
4
Cyc8≔new⁡:
addvertex⁡AB,BC,MB,NB,NF,NS,ON,SK,Cyc8
AB,BC,MB,NB,NF,NS,ON,SK
addedge⁡Cycle⁡,Cyc8:
countcuts⁡Cyc8
28
See Also
GraphTheory
networks(deprecated)[connectivity]
networks(deprecated)[counttrees]
Download Help Document