docs: protected Clustering<?> runClusteringAlgorithm(ResultHierarchy hierarchy, Result parent, DBIDs ids, DataStore<DoubleVector> store, int dim, String title) {
      SimpleTypeInformation<DoubleVector> t = new VectorFieldTypeInformation<>(DoubleVector.FACTORY, dim);
      Relation<DoubleVector> sample = new MaterializedRelation<>(t, ids, title, store);
      ProxyDatabase d = new ProxyDatabase(ids, sample);
      Clustering<?> clusterResult = samplesAlgorithm.run(d);
      d.getHierarchy().remove(sample);
      d.getHierarchy().remove(clusterResult);
      hierarchy.add(parent, sample);
      hierarchy.add(sample, clusterResult);
      return clusterResult;
    }