Question: Your program should accept two command line arguments. Argument 1 is an input file name, and argument 2 is an output file name Your program
Your program should accept two command line arguments. Argument 1 is an input file name, and argument 2 is an output file name Your program will first construct an undirected graph G based on parameters specified in the input. The graph will represent a multi-dimensional space, and the first input line specifies the number of dimensions N. Your program is only required to handle the cases N-2 and N-3, but you can earn extra credit if your program also works for arbitrary N s 12. The second input line specifies the lengths L1 L2 LN of the N dimensions. Graph G will have L1 x L2 - LNvertices, and each vertex can be considered as a tuple X (X1, X2, , Xn) where 0 ?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
