Package org.openrefine.clustering
Class Clusterer
- java.lang.Object
- 
- org.openrefine.clustering.Clusterer
 
- 
- Direct Known Subclasses:
- BinningClusterer,- kNNClusterer
 
 public abstract class Clusterer extends Object Abstract interface for a clusterer.Once computeClusters has been called, the Clusterer instance is expected to be serializable to Jackson, which is how clustering results are retrieved. TODO this should be changed: the interface should specify JSON serialization and add abstract methods to retrieve clustering results instead. 
- 
- 
Constructor SummaryConstructors Constructor Description Clusterer()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidcomputeClusters(Engine engine)protected voidinitializeFromConfig(Grid grid, ClustererConfig c)
 
- 
- 
- 
Field Detail- 
_gridprotected Grid _grid 
 - 
_colindexprotected int _colindex 
 
- 
 - 
Method Detail- 
computeClusterspublic abstract void computeClusters(Engine engine) 
 - 
initializeFromConfigprotected void initializeFromConfig(Grid grid, ClustererConfig c) 
 
- 
 
-