当前位置:网站首页>图论
图论
2022-07-16 17:00:00 【csuzhucong】
目录
一,无向图和有向图
图由节点和边组成。
二,图的表示
常见的表示方法有三种:邻接表、邻接矩阵、边集。
三种表示方法用于表达无向图和有向图的方式都是一样的。
三,图的常见概念
1,平行边(多重边)
在无向图中,关联一对顶点的无向边如果多于1条,则称这些边为平行边。
在有向图中,关联一对顶点的有向边如果多于1条,并且这些边的始点与终点相同(也就是它们的的方向相同),称这些边为平行边。
2,简单图
含平行边的图称为多重图,既不含平行边也不包含自环的图称为简单图。
3,连通分量
一般只有无向图才会讲这个概念,连通分量指的是图被划分成了若干个互不相连的部分。
注意,只有一个点没有边的图也是图。
四,有向图的核
边栏推荐
- leetcode 8. String to Integer (atoi)(string)
- SQL optimization (V): table connection
- 2. Create a thread
- 第一个大规模中文视频多模态相似度数据集
- 老外还停留在20年前
- 还在用 System.currentTimeMillis() 统计代码耗时?太 Low 了!
- [200 routines OpenCV] 232. Méthode spectrale de caractérisation
- Full marks for all! The Chinese team IMO won four consecutive titles, leading the second place South Korea by a big score
- 12.快速排序
- NC20566 [SCOI2010]游戏
猜你喜欢

射频芯片ATE测试从入门到放弃之收发机

Payment transaction snark in Mina

4. Connect terminated threads (recycle threads)

Zordle:基于ZKP的Wordle应用

第一个大规模中文视频多模态相似度数据集

面试微服务

对话印奇:我们所坚持的不会改变,旷视跳出企业科研“周期律”

Vivado ROM IP core
![[LeetCode]剑指 Offer 39. 数组中出现次数超过一半的数字](/img/8e/7accdb74233258598cab0e27dd50d1.png)
[LeetCode]剑指 Offer 39. 数组中出现次数超过一半的数字

Liu tiemeng's introduction to C language - detailed explanation of entrustment
随机推荐
Horizon 8 test environment deployment (8): app volumes managers load balancing configuration
12. Quick sort
The 20th anniversary of Beijing Hyundai: Streamline product layout and strive to achieve 520000 vehicles by 2025
String related code questions -- C language
1. Threads and processes
6.线程取消
leetcode 8. String to Integer (atoi)(string)
Kernel management of Jupiter notebook
12.单调栈——解决接雨水和柱状图中的最大矩形等问题
Payment transaction snark in Mina
【Word】插入公式显示灰色,失效解决
sql优化(五):表连接
Interview micro service
eventbus短暂使用
私域论坛圈子社区小程序开发
老外还停留在20年前
Change signal sampling rate and measurement mean frequency, power and bandwidth
3. Terminate thread
Raspberry pie shutdown restart command
[MySQL project practical optimization] convert multiple rows of data into the same row and multiple columns for display