public static class PartialKeyGrouping.RandomTwoTaskAssignmentCreator extends Object implements PartialKeyGrouping.AssignmentCreator
Constructor and Description |
---|
RandomTwoTaskAssignmentCreator() |
Modifier and Type | Method and Description |
---|---|
int[] |
createAssignment(List<Integer> tasks,
byte[] key)
Creates a two task assignment by selecting random tasks.
|
public int[] createAssignment(List<Integer> tasks, byte[] key)
createAssignment
in interface PartialKeyGrouping.AssignmentCreator
Copyright © 2023 The Apache Software Foundation. All rights reserved.