?? expectedoutputgraphmatrixrepuos.txt
字號:
Capacity: 8
Number of vertices: 8
Number of edges: 13
At Vertex 4: 4
4's index: 4
At Vertex 8: 8
All of the Vertices:
1, 2, 3, 4, 5, 6, 7, 8,
All of 1's edges:
(2,1) (1,3) (7,1)
Graph before searches:
8
1 : 2 3 7 0
2 : 1 7 8 0
3 : 1 4 5 7 0
4 : 3 0
5 : 3 6 7 8 0
6 : 5 8 0
7 : 1 2 3 5 8 0
8 : 2 5 6 7 0
After making edges between 1 and every other vertex including itself:
8
1 : 1 2 3 4 5 6 7 8 0
2 : 1 7 8 0
3 : 1 4 5 7 0
4 : 1 3 0
5 : 1 3 6 7 8 0
6 : 1 5 8 0
7 : 1 2 3 5 8 0
8 : 1 2 5 6 7 0
All of 1's edges:
(1,1) (1,2) (1,3) (1,4) (1,5) (1,6) (1,7) (1,8)
After deleting Vertex 7:
7
1 : 1 2 3 4 5 6 8 0
2 : 1 8 0
3 : 1 4 5 0
4 : 1 3 0
5 : 1 3 6 8 0
6 : 1 5 8 0
8 : 1 2 5 6 0
At Edge 3->4 exists?: true
Get Edge 3->4: (3,4)
After another vertex insertion:
8
1 : 1 2 3 4 5 6 8 0
2 : 1 8 0
3 : 1 5 0
4 : 1 0
5 : 1 3 6 8 0
6 : 1 5 8 0
7 : 0
8 : 1 2 5 6 0
cannot insert 4 since that index exists
Empty?false
Wiped out--Empty?true
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -