55 /* -source (0=>empty,1=>1.2,...) X -target (0=>empty,1=>1.2,...) |
55 /* -source (0=>empty,1=>1.2,...) X -target (0=>empty,1=>1.2,...) |
56 * ver[0][0] => no -source or -target was given |
56 * ver[0][0] => no -source or -target was given |
57 * -1 => invalid combinations |
57 * -1 => invalid combinations |
58 */ |
58 */ |
59 int[][] ver = |
59 int[][] ver = |
60 {{51, -1, -1, -1, -1, -1, -1, -1}, |
60 {{52, -1, -1, -1, -1, -1, -1, -1}, |
61 {48, 46, 47, 48, 49, 50, 51, 51}, |
61 {48, 46, 47, 48, 49, 50, 51, 52}, |
62 {48, 46, 47, 48, 49, 50, 51, 51}, |
62 {48, 46, 47, 48, 49, 50, 51, 52}, |
63 {48, -1, -1, 48, 49, 50, 51, 51}, |
63 {48, -1, -1, 48, 49, 50, 51, 52}, |
64 {51, -1, -1, -1, 49, 50, 51, 51}, |
64 {52, -1, -1, -1, 49, 50, 51, 52}, |
65 {51, -1, -1, -1, -1, 50, 51, 51}, |
65 {52, -1, -1, -1, -1, 50, 51, 52}, |
66 {51, -1, -1, -1, -1, -1, 51, 51}, |
66 {52, -1, -1, -1, -1, -1, 51, 52}, |
67 {51, -1, -1, -1, -1, -1, -1, 51}}; |
67 {52, -1, -1, -1, -1, -1, -1, 52}}; |
68 |
68 |
69 // Loop to run all possible combinations of source/target values |
69 // Loop to run all possible combinations of source/target values |
70 for (int i = 0; i< ver.length; i++) { |
70 for (int i = 0; i< ver.length; i++) { |
71 for (int j = 0 ; j< ver[i].length; j++) { |
71 for (int j = 0 ; j< ver[i].length; j++) { |
72 if(ver[i][j] != -1) { |
72 if(ver[i][j] != -1) { |