articulation_points()
查找关节点(或割点)
详细信息
关节点或割点是指移除后会增加图中连通分量数量的顶点。 类似地,桥或割边是指移除后会增加图中连通分量数量的边。 如果原始图是连通的,那么移除单个关节点或单个桥会使其不连通。 如果一个图不包含关节点,那么它的顶点连通度至少为 2。
作者
Gabor Csardi csardi.gabor@gmail.com
示例
g <- disjoint_union(make_full_graph(5), make_full_graph(5))
clu <- components(g)$membership
g <- add_edges(g, c(match(1, clu), match(2, clu)))
articulation_points(g)
#> + 2/10 vertices, from 125d271:
#> [1] 6 1
g <- make_graph("krackhardt_kite")
bridges(g)
#> + 2/18 edges from cb502c5:
#> [1] 9--10 8-- 9