[閒聊] gn4.bat啊 (順便附上所有測資的指令)

作者: anfranion (南‧生命的意義是經歷)   2012-05-12 21:08:40
剛剛有同學問我
為什麼這個檔案去跑,不會有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
作者: OckhamsRazor (魏格納的友人)   2012-05-12 22:00:00
推 我一開始還被segmentation fault嚇到www
作者: Usoul   2012-05-12 23:01:00
推! 這個改很多次還是有 Miss...
作者: vincere (vin)   2012-05-13 00:23:00
真的 害我被嚇到 感激~
作者: donkilu (donkilu)   2012-05-13 01:26:00
這個我跑前就先自己改了XDDD
作者: Nien1027 (隨便)   2012-05-13 14:30:00
推呀!

Links booklink

Contact Us: admin [ a t ] ucptt.com