assert locationNames.length >= 1;
assert splits != null;
double[] locationScores = new double[locationNames.length];
for (SplitDef split : splits) {
BitSet locations = split.locations;
for (int i = locations.nextSetBit(0); i >= 0; i = locations.nextSetBit(i + 1)) {
locationScores[i] += split.localTime;
}
}
LocationAndTime[] pairs = new LocationAndTime[locationNames.length];
for (int i = 0; i < pairs.length; i++) {