# 16 processor hypercube topology

# number of processors and maximal number of links per processor
16 4

# proc_num and its direct neighbors
0   B 1  2  4  8
1   B 0  3  5  9
2   B 0  3  6 10
3   B 1  2  7 11
4   B 0  5  6 12
5   B 1  4  7 13
6   B 2  4  7 14
7   B 3  5  6 15
8   B 0  9 10 12
9   B 1  8 11 13
10  B 2  8 11 14
11  B 3  9 10 15
12  B 4  8 13 14
13  B 5  9 12 15
14  B 6 10 12 15
15  B 7 11 13 14