# 8 K ring with 8 nodes, K=3, All-port
# number of processors and maximal number of links per processor 
8 3

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