next up previous contents
Next: References Up: Functions of thisnode Previous: 8 Algorithm

Subsections

9 Algorithmic issue to sort out

9.1 alternative

One could write an algorithm for implementing functions of thisnode exchanges in the manner of the following pseudo-code.

loop over n
   x@n = y@f(n)
end

It remains to sort out what is the relationship between this algorithm, and the split algorithm in section 8. In this we need to consider why we use the approach in section 8.

One assumption is that every process receives. There is also the identity case where p ``sends'' to p.

9.2 efficiency

In some cases it may be more efficient to distribute the calculation of f(me) and gather the results.


next up previous contents
Next: References Up: Functions of thisnode Previous: 8 Algorithm

Terry Clark
8/2/1998