⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 expectedoutputgraphlinkedrepuos.txt

📁 国外的数据结构与算法分析用书
💻 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:
(1,3)  (2,1)  (7,1)  
Graph before searches: 
8 
1 :  3 2 7 0 
2 :  1 7 8 0 
3 :  1 4 5 7 0 
4 :  3 0 
5 :  3 7 8 6 0 
6 :  5 8 0 
7 :  2 3 5 1 8 0 
8 :  5 7 2 6 0 

After making edges between 1 and every other vertex including itself: 
8 
1 :  3 2 7 1 1 2 3 4 5 6 7 8 0 
2 :  1 7 8 1 0 
3 :  1 4 5 7 1 0 
4 :  3 1 0 
5 :  3 7 8 6 1 0 
6 :  5 8 1 0 
7 :  2 3 5 1 8 1 0 
8 :  5 7 2 6 1 0 
All of 1's edges:
(1,3)  (2,1)  (7,1)  (1,1)  (1,1)  (1,2)  (1,3)  (1,4)  (1,5)  (1,6)  (1,7)  (1,8)  
After deleting Vertex 7: 
7 
1 :  3 2 1 1 2 3 4 5 6 8 0 
2 :  1 8 1 0 
3 :  1 4 5 1 0 
4 :  3 1 0 
5 :  3 8 6 1 0 
6 :  5 8 1 0 
8 :  5 2 6 1 0 
At Edge 3->4 exists?: true
Get Edge 3->4: (3,4)
After another vertex insertion: 
8 
1 :  3 2 1 1 2 3 4 5 6 8 0 
2 :  1 8 1 0 
3 :  1 5 1 0 
4 :  1 0 
5 :  3 8 6 1 0 
6 :  5 8 1 0 
7 :  0 
8 :  5 2 6 1 0 
cannot insert 4 since that index exists
Empty?false
Wiped out--Empty?true

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -