/** * \file IMP/statistics/VQClustering.h * \brief Vector quantization clustering. Based on Wriggers et at, JMB 1998 * * Copyright 2007-2013 IMP Inventors. All rights reserved. * */ #ifndef IMPSTATISTICS_INTERNAL_VQ_CLUSTERING_H #define IMPSTATISTICS_INTERNAL_VQ_CLUSTERING_H #include #include "DataPoints.h" #include "ClusteringEngine.h" IMPSTATISTICS_BEGIN_INTERNAL_NAMESPACE class IMPSTATISTICSEXPORT VQClusteringParameters { public: int dim_; bool show_status_bar_; int k_;//number of centers int number_of_runs_; int number_of_steps_; double ei_,ef_;// parameters for epsilon updates double li_,lf_;// parameters for lamda updates double random_offset_; //random offset for point sampling bool eq_clusters_;//should the clusters have equal size void show(std::ostream& out=std::cout) const { out<<"Dimension : "< full_data_; Array1DD_VEC centers_; std::vector assignment_;//the assignment of data points to clusters }; IMPSTATISTICS_END_INTERNAL_NAMESPACE #endif /* IMPSTATISTICS_INTERNAL_VQ_CLUSTERING_H */