docs: private void linearScan(Relation<? extends O> relation, DBIDIter iter, O obj, double range, ModifiableDoubleDBIDList result) {
      while(iter.valid()) {
        final double similarity = rawsim.similarity(obj, relation.get(iter));
        if(similarity >= range) {
          result.add(similarity, iter);
        }
        iter.advance();
      }
    }