[闲聊] 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