mirror of
https://github.com/oxyanyano/2022-WangDao-CS-DS-Notes.git
synced 2026-02-02 18:29:00 +08:00
Update 6.3图的基本操作.md
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user