GraphTheory
ArticulationPoints
compute list of articulation points
Calling Sequence
Parameters
Description
Examples
ArticulationPoints(G)
G
-
undirected graph
A vertex v in a graph G is an articulation point of G if removing it and its incident edges increases the number of connected components of G.
ArticulationPoints(G) returns a list of the vertices of G which are articulation points.
The articulation points of a graph can be computed when traversing the graph using depth-first-search in linear time in the size of the graph.
with⁡GraphTheory:
P5≔PathGraph⁡5
P5≔Graph 1: an undirected graph with 5 vertices and 4 edge(s)
ArticulationPoints⁡P5
2,3,4
numelems⁡ConnectedComponents⁡P5
1
G≔DeleteVertex⁡P5,3
G≔Graph 2: an undirected graph with 4 vertices and 2 edge(s)
numelems⁡ConnectedComponents⁡G
2
C5≔CycleGraph⁡5
C5≔Graph 3: an undirected graph with 5 vertices and 5 edge(s)
ArticulationPoints⁡C5
See Also
BiconnectedComponents
IsBiconnected
IsConnected
VertexConnectivity
Download Help Document