Update 6.3图的基本操作.md

This commit is contained in:
岩岩
2022-03-29 11:38:18 +08:00
committed by GitHub
parent ccf1c357e5
commit 67fa0236bf

View File

@@ -14,4 +14,4 @@ Get_edge_value(G,x,y); //获取图G中边(x,y)或<x,y>对应的权值。
Set_edge_value(G,x,y,v); //设置图G中边(x,y)或<x,y>对应的权值为v。
```
图的遍历中直接调用FirstNeighbor(G,x);和NextNeighbor(G,x,y);
图的遍历中直接调用FirstNeighbor(G, x);和NextNeighbor(G, x, y);