剛剛有同學問我
為什麼這個檔案去跑,不會有output file
我才發現這個檔案應該是從word上複製下來的XDD
恩
就是說呢
這個檔案裡的command 還有老師spec.的word上的command那段呢
他的-o 後面的路徑的資料夾呢
都沒有加s喔ˊ_>ˋ)
(就是應該是outputs,但他都是寫output)
恩總之呢,有需要的人把下面那段複製回去執行吧XD
read_graph inputs/gn4.dot
write_tree_dfs -s v0 -o outputs/gn4_dfs_n.dot
write_tree_bfs -s v0 -o outputs/gn4_bfs_n.dot
write_tree_mst -a prim -r v0 -o outputs/gn4_mst_n.dot
read_graph inputs/gn10.dot
write_tree_dfs -s v0 -o outputs/gn10_dfs_n.dot
write_tree_bfs -s v0 -o outputs/gn10_bfs_n.dot
write_tree_mst -a prim -r v0 -o outputs/gn10_mst_n.dot
read_graph inputs/gn100.dot
write_tree_dfs -s v0 -o outputs/gn100_dfs_n.dot
write_tree_bfs -s v0 -o outputs/gn100_bfs_n.dot
write_tree_mst -a prim -r v0 -o outputs/gn100_mst_n.dot
read_graph inputs/gn1000.dot
write_tree_dfs -s v0 -o outputs/gn1000_dfs_n.dot
write_tree_bfs -s v0 -o outputs/gn1000_bfs_n.dot
write_tree_mst -a prim -r v0 -o outputs/gn1000_mst_n.dot
read_graph inputs/gn10000.dot
write_tree_dfs -s v0 -o outputs/gn10000_dfs_n.dot
write_tree_bfs -s v0 -o outputs/gn10000_bfs_n.dot
write_tree_mst -a prim -r v0 -o outputs/gn10000_mst_n.dot
read_graph inputs/gn50000.dot
write_tree_dfs -s v0 -o outputs/gn50000_dfs_n.dot
write_tree_bfs -s v0 -o outputs/gn50000_bfs_n.dot
write_tree_mst -a prim -r v0 -o outputs/gn50000_mst_n.dot