|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.intel.hadoop.graphbuilder.partition.strategy.RandomIngress<VidType>
VidType
- public class RandomIngress<VidType>
Random assigns a partition id for each edge.
Constructor Summary | |
---|---|
RandomIngress(int numProcs)
Default constructor with numProcs set. |
Method Summary | |
---|---|
short |
computePid(VidType source,
VidType target)
|
int |
numProcs()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RandomIngress(int numProcs)
numProcs
- Method Detail |
---|
public short computePid(VidType source, VidType target)
computePid
in interface Ingress<VidType>
public int numProcs()
numProcs
in interface Ingress<VidType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |