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.
withGraphTheory:
P5≔PathGraph5
P5≔Graph 1: an undirected graph with 5 vertices and 4 edge(s)
ArticulationPointsP5
2,3,4
numelemsConnectedComponentsP5
1
G≔DeleteVertexP5,3
G≔Graph 2: an undirected graph with 4 vertices and 2 edge(s)
numelemsConnectedComponentsG
2
C5≔CycleGraph5
C5≔Graph 3: an undirected graph with 5 vertices and 5 edge(s)
ArticulationPointsC5
See Also
BiconnectedComponents
IsBiconnected
IsConnected
VertexConnectivity
Download Help Document