use of de.lmu.ifi.dbs.elki.data.type.CombinedTypeInformation in project elki by elki-project.
the class EvaluateDBCV method processNewResult.
@Override
public void processNewResult(ResultHierarchy hier, Result newResult) {
List<Clustering<?>> crs = Clustering.getClusteringResults(newResult);
if (crs.size() < 1) {
return;
}
Database db = ResultUtil.findDatabase(hier);
TypeInformation typ = new CombinedTypeInformation(this.distanceFunction.getInputTypeRestriction(), TypeUtil.NUMBER_VECTOR_FIELD);
Relation<O> rel = db.getRelation(typ);
if (rel != null) {
for (Clustering<?> cl : crs) {
evaluateClustering(db, rel, cl);
}
}
}
Aggregations