public interface Selector
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.Long> |
selectHighEnd(java.util.Map<java.lang.Long,java.lang.Double> scores,
int nSelect)
Select n elements from given Map (WorkerId, Scores), from the low end, (score value natural order)
|
java.util.List<java.lang.Long> |
selectLowEnd(java.util.Map<java.lang.Long,java.lang.Double> scores,
int nSelect)
Select n elements from given Map (WorkerId, Scores), from the low end, (score value natural order)
|
java.util.List<java.lang.Long> selectHighEnd(java.util.Map<java.lang.Long,java.lang.Double> scores,
int nSelect)
scores - worker scores. workerId -> score mapnSelect - number of selectionsjava.util.List<java.lang.Long> selectLowEnd(java.util.Map<java.lang.Long,java.lang.Double> scores,
int nSelect)
scores - worker scores. workerId -> score mapnSelect - number of selectionsCopyright © 2024. All rights reserved.