public final class DistributionPatternProvider extends Object
| Constructor and Description |
|---|
DistributionPatternProvider() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
createWire(DistributionPattern pattern,
int nodeLowerStage,
int nodeUpperStage,
int sizeSetLowerStage,
int sizeSetUpperStage)
Checks if two subtasks of different tasks should be wired.
|
public static boolean createWire(DistributionPattern pattern, int nodeLowerStage, int nodeUpperStage, int sizeSetLowerStage, int sizeSetUpperStage)
pattern - the distribution pattern that should be usednodeLowerStage - the index of the producing task's subtasknodeUpperStage - the index of the consuming task's subtasksizeSetLowerStage - the number of subtasks of the producing tasksizeSetUpperStage - the number of subtasks of the consuming tasktrue if a wire between the two considered subtasks should be created, false
otherwiseCopyright © 2014 The Apache Software Foundation. All rights reserved.