std::vector<int> index_to_rank_map_;
int refcount_ = 1; /* refcount_: start > 0 so that this group never gets freed */
std::vector<int> index_to_rank_map_;
int refcount_ = 1; /* refcount_: start > 0 so that this group never gets freed */
public:
Group() = default;
explicit Group(int size) : size_(size), rank_to_actor_map_(size, nullptr), index_to_rank_map_(size, MPI_UNDEFINED) {}
public:
Group() = default;
explicit Group(int size) : size_(size), rank_to_actor_map_(size, nullptr), index_to_rank_map_(size, MPI_UNDEFINED) {}
int compare(MPI_Group group2);
int incl(int n, const int* ranks, MPI_Group* newgroup);
int excl(int n, const int* ranks, MPI_Group* newgroup);
int compare(MPI_Group group2);
int incl(int n, const int* ranks, MPI_Group* newgroup);
int excl(int n, const int* ranks, MPI_Group* newgroup);