use of de.lmu.ifi.dbs.elki.algorithm.clustering.optics.ClusterOrder in project elki by elki-project.
the class OPTICSSteepAreaVisualization method processNewResult.
@Override
public void processNewResult(VisualizerContext context, Object result) {
VisualizationTree.findVis(context, result).filter(OPTICSProjector.class).forEach(p -> {
ClusterOrder co = p.getResult();
It<OPTICSXi.SteepAreaResult> r = co.getHierarchy().iterChildren(co).filter(OPTICSXi.SteepAreaResult.class);
if (r.valid()) {
final VisualizationTask task = //
new VisualizationTask(this, NAME, p.getResult(), null).level(VisualizationTask.LEVEL_DATA + 1);
context.addVis(p, task);
context.addVis(r.get(), task);
}
});
}
Aggregations