CCT.NUI.Core.Clustering.KMeansClusterFactory.FindClusters C# (CSharp) 메소드

FindClusters() 개인적인 메소드

private FindClusters ( IList pointList ) : void
pointList IList
리턴 void
        private void FindClusters(IList<Point> pointList)
        {
            this.InitializeAlgorithm(pointList);
            this.algorithm.IterateUntilStable();

            if (this.algorithm.ClusterCount > 0)
            {
                var prototypes = this.FlattenIfRequired(this.MergeClustersIfRequired(this.algorithm.Clusters));
                this.value = new ClusterCollection(prototypes.Select(p => p.ToCluster()).ToList());
            }
        }