docs: @Override
    public void writeExternal(ObjectOutput out) throws IOException {
      out.writeInt(DBIDUtil.asInteger(id));
      out.writeInt(values.length);
      for(double v : values) {
        out.writeDouble(v);
      }
    }