《unix systems programming》令牌环项目中的torus问题
7.3节第13个题。我找到了英文的text:
Modify ring1 to create a bidirectional torus of processes. Accumulate ID arrays to test connectivity. A torus has a two-dimensional structure. It is like a mesh except that the processes at the ends are connected together. The n2 processes are arranged in n rings in each dimension (torus). Each process has four connections (North, South, East, and West).
图看起来应该像下面的论文第一页所示(我的理解):
http://citeseer.ist.psu.edu/cache/papers/cs/10356/http:zSzzSzwww.ctr.columbia.eduzSz%7EmilanzSzpaperszSzicccn94.pdf/kovacevic94analysis.pdf
有没有哪位仁兄做成过这个题?