Cosmetics.
[clueless-kmeans.git] / clusterer.h
index d1ff8be..ad0c58f 100644 (file)
 class Clusterer {
 public:
 
-  enum { STANDARD_ASSOCIATION, STANDARD_LP_ASSOCIATION, UNINFORMATIVE_LP_ASSOCIATION };
+  enum {
+    STANDARD_ASSOCIATION,
+    STANDARD_LP_ASSOCIATION,
+    UNINFORMATIVE_LP_ASSOCIATION
+  };
 
   const static int max_nb_iterations = 10;
   const static scalar_t min_iteration_improvement = 0.999;
+  const static scalar_t min_cluster_variance = 0.01f;
 
   int _nb_clusters;
   int _dim;