mirror of
https://github.com/krahets/hello-algo.git
synced 2026-02-08 21:34:17 +08:00
build
This commit is contained in:
@@ -68,7 +68,7 @@ $$
|
||||
|
||||
邻接矩阵具有以下特性。
|
||||
|
||||
- 顶点不能与自身相连,因此邻接矩阵主对角线元素没有意义。
|
||||
- 在简单图中,顶点不能与自身相连,此时邻接矩阵主对角线元素没有意义。
|
||||
- 对于无向图,两个方向的边等价,此时邻接矩阵关于主对角线对称。
|
||||
- 将邻接矩阵的元素从 $1$ 和 $0$ 替换为权重,则可表示有权图。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user