docs: protected void convertNeighbors(DBIDRange ids, DBIDRef ix, boolean square, KNNList neighbours, DoubleArray dist, IntegerArray ind) {
      for(DoubleDBIDListIter iter = neighbours.iter(); iter.valid(); iter.advance()) {
        if(DBIDUtil.equal(iter, ix)) {
          continue; // Skip query point
        }
        double d = iter.doubleValue();
        dist.add(square ? (d * d) : d);
        ind.add(ids.getOffset(iter));
      }
    }