next up previous contents
Next: Constructor Up: Communication schedules Previous: Replicated data:

class Count

A count schedule is a communication schedule for counting the number of true elements in a distributed array of boolean values (the source array). A count schedule is described by a collective object with local components of class Count. The public interface of the Count class is

  class DAD ;

  class Count {
  public :
    Count(const DAD* src) ;

    void execute(int* res, int* srcDat) ;
  private :
    ...
  } ;





Guansong Zhang
Fri Oct 9 12:29:23 EDT 1998