KNNResult<DoubleDistance> knns = knnQuery.getKNNForDBID(id, k);
BitSet preferenceVector = determinePreferenceVector(relation, id, knns.asDBIDs(), msg);
storage.put(id, preferenceVector);
if(progress != null) {
progress.incrementProcessed(logger);
}
}
if(progress != null) {
progress.ensureCompleted(logger);
}