diff --git a/utils/graph.py b/utils/graph.py deleted file mode 100644 index 7e32fa6..0000000 --- a/utils/graph.py +++ /dev/null @@ -1,25 +0,0 @@ -# 为我们的程序量身定做的数据结构 -class Graph: - """ - 指定节点数量 - 源节点集,目标节点集 - 有向图,无向图 - 生成子图 - """ - def __init__(self): - ''' - :param num_nodes: 总节点数 - :param edges: 边:[nums_edges,2] - ''' - pass - def add_edge(self): - pass - def set_src_nodes(self,src_nodes): - pass - def set_tgt_nodes(self,tgt_nodes): - pass - def get_tgt_nodes(self): - return - def get_edges_dir(self): - pass -