看板 EE_DSnP 關於我們 聯絡資訊
Please download it from the website. Usage: genGraph <numNodes> <numLevels> <EdgesPerNode> where <EdgesPerNode> is the average number of edges for each node. Examples: genGraph 10 5 3 genGraph 100 30 8 To specify parameters for the program, either run it on Linux or DOS console, or in devC++: Executable --> Parameters, type in the parameters. Please note that you can also output the graph to a file. Please uncomment these two lines in main(): /* uncomment these two lines if you want to output to a file ofstream ofile("test.txt"); ofile << gg; */ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 59.121.132.105