docs: @Override
    public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
      id = DBIDUtil.importInteger(in.read());
      values = new double[in.readInt()];
      for(int d = 0; d < values.length; d++) {
        values[d] = in.readDouble();
      }
    }