# 16 processor bi-ring topology
# number of processors and maximal number of links per processor
24 2
# proc_num and its direct neighbors

0  B  1 23
1  B  2  0
2  B  3  1
3  B  4  2
4  B  5  3
5  B  6  4
6  B  7  5
7  B  8  6
8  B  9  7
9  B 10  8
10 B 11  9
11 B 12 10
12 B 13 11
13 B 14 12
14 B 15 13
15 B 16 14
16 B 17 15
17 B 18 16
18 B 19 17
19 B 20 18
20 B 21 19
21 B 22 20
22 B 23 21
23 B  0 22