刚刚有同学问我
为什么这个档案去跑,不会有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