Close
Close window
IsCutSet - 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


[フレーム] [フレーム]

GraphTheory

IsCutSet

test if edge set is cut-set

Calling Sequence

IsCutSet(G, E)

Parameters

G

-

graph E : edge or set of edges

Description

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.

Examples

>

withGraphTheory:

>

GGraph1,2,1,3,1,4,2,3,3,4,4,5,4,6,5,6

GGraph 1: an undirected graph with 6 vertices and 8 edges

(1)
>

DrawGraphG

>

S1,4,3,4

S1,4,3,4

(2)
>

IsCutSetG,S

true

(3)
>

DeleteEdgeG,S

Graph 1: an undirected graph with 6 vertices and 6 edges

(4)
>

IsConnectedG

false

(5)


Download Help Document

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