11.6廣度優先搜索算法(BFS) · #構建一個長度為10的路徑 · G = nx.path_graph(10) · #顯示graph · nx.draw_spring(G,with_labels=True) · plt.axis('on') · plt.
確定! 回上一頁