|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectp2pmpi.mpi.Group
public class Group
Group class
Constructor Summary | |
---|---|
Group(p2pmpi.mpi.dev.Device device,
p2pmpi.common.RankTable rankTable,
int myRank,
int myRankInList,
int groupSize,
p2pmpi.common.MapRankTable mapRankTable)
Internal constructor |
Method Summary | |
---|---|
p2pmpi.common.RankTable |
__getCommTable()
|
p2pmpi.mpi.dev.Device |
__getDevice()
Internal use |
p2pmpi.common.MapRankTable |
__getMapCommTable()
|
int |
__getNumPeers()
|
p2pmpi.common.RankTable |
__getRankTable()
|
int |
__sizetotal()
Internal use |
static int |
Compare(Group group1,
Group group2)
Create a new group which include some ranks from original group |
static Group |
Difference(Group group1,
Group group2)
|
Group |
Excl(int[] rank)
Create a new group which exclude some ranks from original group |
Group |
Incl(int[] rank)
Create a new group which include some ranks from original group |
static Group |
Intersection(Group group1,
Group group2)
Create a new group which is the intersection of 2 groups |
int |
Rank()
Returns rank of process in group |
int |
RankInList()
Returns rank of process in list table (Internal used) |
int |
Size()
Returns size of group |
static Group |
Union(Group group1,
Group group2)
Create a new group which is the union of 2 groups |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Group(p2pmpi.mpi.dev.Device device, p2pmpi.common.RankTable rankTable, int myRank, int myRankInList, int groupSize, p2pmpi.common.MapRankTable mapRankTable)
device
- the communication device to userankTable
- list of nodesmyRank
- MPI rankmyRankInList
- Rank in listgroupSize
- number of MPI ranksMethod Detail |
---|
public int Rank()
public int RankInList()
public int Size()
public int __sizetotal()
public Group Excl(int[] rank)
rank
- list of excluded rank
public Group Incl(int[] rank)
rank
- list of included rank
public static int Compare(Group group1, Group group2)
group1
- group1group2
- group2
public static Group Union(Group group1, Group group2)
group1
- group1group2
- group2
public static Group Intersection(Group group1, Group group2)
group1
- group1group2
- group2
public static Group Difference(Group group1, Group group2)
public p2pmpi.mpi.dev.Device __getDevice()
public int __getNumPeers()
public p2pmpi.common.RankTable __getCommTable()
public p2pmpi.common.MapRankTable __getMapCommTable()
public p2pmpi.common.RankTable __getRankTable()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |