if(ResultUtil.filteredResults(rel, SamplingResult.class).hasNext()) {
continue;
}
int size = rel.size();
if(size > samplesize) {
SamplingResult sample = new SamplingResult(rel);
sample.setSample(DBIDUtil.randomSample(sample.getSample(), samplesize, seed));
ResultUtil.addChildResult(rel, sample);
}
}
}
return context;