当前位置:网站首页>Connectivity basis of Graphs
Connectivity basis of Graphs
2022-07-01 01:33:00 【chengqiuming】
One Connectivity of undirected graphs
In the undirected graph , If from node vi To the node vj There is a path , Then it is called node vi And nodes vj It's connected . If any two nodes in the graph are connected , A graph is called a connected graph . The following figure is a connected graph .

Undirected graph G The polar Dalian Tong subgraph of becomes a graph G The connected component of . Polar Dalian tongsubgraph is a graph G Connected subgraphs , If you add another node , Then the subgraph is not connected . The connected component of a connected graph is itself ; An unconnected graph has more than two connected components .
for example , Below is a picture of 3 Connected components

Two Connectivity of directed graphs
In a directed graph , If any two nodes in the graph start from vi To vj All have paths , And from vj To vi There are also paths , It's called a picture G It's a strongly connected graph .
Directed graph G The polar Dalian Tongzi graph of is called G The strong connected component of . A maximal strongly connected subgraph is a graph G Strong connected subgraphs of , If you add another node to the graph , Then the subgraph is no longer strongly connected 、
The following figure ,a Graph is strongly connected ,b It's not a strongly connected graph ,c yes b The strong connected component of .

3、 ... and Bridges and cut points of undirected graphs
The bridge is the traffic artery connecting the two banks of the river , The bridge is broken , Then the two banks of the river are no longer connected . In the picture , Bridges have the same meaning , As shown in the figure below , Get rid of 5-8 after , The graph is split into two disconnected subgraphs , edge 5-8 Figure G The bridge of , Again , edge 5-7 Also figure G The bridge of .
If we remove the undirected connected graph G One of the sides e after , chart G Split into two disjointed subgraphs , that e Figure G A bridge or cut edge .

In the daily network, there are many routers to connect the network , It doesn't matter if some routers are broken , The network is still connected , But if critical router breaks down , Then the network will no longer be connected . As shown in the figure below , If node 5 Your router is broken , chart G Will no longer be connected , Will split into 3 Disjoint subgraphs , The node 5 It's called graph G The cutting point of .

If we remove the undirected connected graph G A point in v And v After all associated edges , chart G Splitting into two or more disjointed subgraphs , that v Figure G The cutting point of .
Be careful : When deleting an edge , Just delete the edge , Do not delete points associated with edges ; When deleting a cut point , To delete this point and all its associated edges .
The relationship between the cut point and the bridge : A cut point does not necessarily have a bridge , There must be a cutting point if there is a bridge , The bridge must be the edge to which the cutting point is attached .
Four The biconnected components of an undirected graph
If there is no bridge in an undirected graph , It is called edge biconnected graph . In edge biconnected graphs , There are two or more paths between any two points , And the edges on the path do not repeat each other .
If there is no cut point in an undirected graph , It is called a dot biconnected graph . In a vertex biconnected graph , If the number of nodes is greater than 2, Then there are two or more paths between any two points , And the points on the path do not repeat each other .
The maximal biconnected subgraphs of an undirected graph are called edge biconnected components . The maximal vertex biconnected subgraph of an undirected graph is called vertex biconnected . Both are collectively referred to as doubly connected components .
5、 ... and Contraction point of doubly connected components
Treat each edge biconnected component as a point , Think of the bridge as an undirected edge connecting two contraction points , You can get a tree , This method is called e-DCC Shrinkage point .
for example , In the figure below, there are two bridges :5-7 and 5-8, Keep the edges of each bridge , Keep the edges of each bridge , The edge biconnected components at both ends of the bridge are reduced to a point , Make a tree .

Be careful : Edge biconnected components are the connected blocks left after deleting the bridge , But the point double connected component is not the connected block left after deleting the cut point .
In the figure G There are two cut points in (5 and 8) And 4 Point connected components , As shown in the figure below .

Make every point doubly connected v-DCC All as a point , Regard the cut point as a point , Each cut point contains its v-DCC Connect an edge , Get a tree , This method is called v-DCC Shrinkage point .
for example , In the figure G There are two cut points in 5 and 8, front 3 The two dot biconnected components all contain 5, So from 5 Lead an edge to them , The last two point biconnected components contain 8, So from 8 Lead an edge to them .

边栏推荐
- visual studio 2019 下载
- [network packet loss and network delay? This artifact can help you deal with everything!]
- 【office办公-pdf篇】pdf合并与拆分让我们摆脱付费软件的功能限制好不好
- Visual studio 2019 shortcut notes
- 【栈】921. Minimum Add to Make Parentheses Valid
- Open3d point cloud color rendering
- Understanding and application of Qt5 layout in creation
- Open3D 点云包围盒
- Opencv basic operation 2 realizes label2rgb and converts gray-scale images into color images
- Thinking about business and investment
猜你喜欢

农产品换房?“变相”购房补贴!

数字IC设计流程总结

Log logrus third party library usage

Basic knowledge II - Basic definitions related to sta

"Open math input panel" in MathType editing in win11 is gray and cannot be edited

Call the classic architecture and build the model based on the classic

Why not two or four TCP handshakes

gin 配置文件

Looksrare team's "cash out" caused disturbance

Using recyclerreview to show banner is very simple
随机推荐
visual studio 2019 快捷键备忘
neo4j安装、运行以及项目的构建和功能实现
One of the basics - overview of sta Basics
uniapp官方组件点击item无效,解决方案
视频教程 | 长安链推出系列视频教程合集(入门)
Why build a personal blog
Thinking brought by strictmode -strictmode principle (5)
DC學習筆記正式篇之零——綜述與基本流程介紹
Introduction and principle analysis of cluster and LVS
Uniapp official component clicking item is invalid, solution
[Qt5 tab] tab label and content hierarchical analysis
Pre training / transfer learning of models
Open3d point cloud bounding box
StrictMode带来的思考-StrictMode原理(5)
短视频平台开发,依靠DrawerLayout实现侧滑菜单效果
3500字归纳总结:一名合格的软件测试工程师需要掌握的技能大全
尝试新的可能
基础知识之二——STA相关的基本定义
【Qt5-基础篇】随机数显示屏展示
测试必备工具—Postman实战教程