Exemplo n.º 1
0
void dbscan_clustering_method::batch_update(wplist points) {
  if (points.empty()) {
    *this = dbscan_clustering_method(eps_, min_core_point_);
    return;
  }
  dbscan_.batch(points);
}
void kmeans_clustering_method::batch_update(wplist points) {
  if (points.empty()) {
    kcenters_.clear();
    return;
  }
  initialize_centers(points);
  do_batch_update(points);
}