写好节点插入和连接,支持有向图无向图,支持权

This commit is contained in:
2024-12-05 01:21:44 +08:00
parent a56aa1d048
commit 238975f638
4 changed files with 109 additions and 7 deletions
+3 -1
View File
@@ -4,4 +4,6 @@ project(homework5)
set(CMAKE_CXX_STANDARD 20)
add_executable(test1 test1.cpp
Graph.h)
Graph.h
GraphExceptions/SameNodeConnectException.h
GraphExceptions/NodeIdOutOfRangeException.h)