# 8 processor hypercube topology

# number of processors and maximal number of links per processor
8 3

# proc_num and its direct neighbors
0 B 1 2 4
1 R 0 3 5
2 R 0 3 6
3 R 1 2 7
4 R 0 5 6
5 R 1 4 7
6 R 2 4 7
7 R 3 5 6