no reason to process the contextual rows while clustering

git-svn-id: http://google-refine.googlecode.com/svn/trunk@440 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
Stefano Mazzocchi 2010-04-10 08:11:31 +00:00
parent 924f520fbf
commit a286b805d5

View File

@ -142,7 +142,7 @@ public class kNNClusterer extends Clusterer {
public void computeClusters(Engine engine) {
//VPTreeClusteringRowVisitor visitor = new VPTreeClusteringRowVisitor(_distance,_config);
BlockingClusteringRowVisitor visitor = new BlockingClusteringRowVisitor(_distance,_config);
FilteredRows filteredRows = engine.getAllFilteredRows(true);
FilteredRows filteredRows = engine.getAllFilteredRows(false);
filteredRows.accept(_project, visitor);
_clusters = visitor.getClusters();