GraphTheory
IsCutSet
Calling Sequence
Parameters
Description
Examples
IsCutSet(G, E)
G
-
graph E : edge or set of edges
IsCutSet tests whether the edge set E is a cut-set of the graph G. If so, then removing the edges of E disconnects the graph if the graph is connected or, in general, increase the number of connected components.
with⁡GraphTheory:
G≔Graph⁡1,2,1,3,1,4,2,3,3,4,4,5,4,6,5,6
G≔Graph 1: an undirected graph with 6 vertices and 8 edge(s)
DrawGraph⁡G
S≔1,4,3,4
IsCutSet⁡G,S
true
DeleteEdge⁡G,S
Graph 1: an undirected graph with 6 vertices and 6 edge(s)
IsConnected⁡G
false
See Also
ConnectedComponents
DeleteEdge
EdgeConnectivity
IsConnected
Download Help Document