CCT.NUI.Core.Clustering.KMeans.DetectCountChange C# (CSharp) Метод

DetectCountChange() приватный Метод

private DetectCountChange ( int counts ) : bool
counts int
Результат bool
        private bool DetectCountChange(int[] counts)
        {
            for (int index = 0; index < counts.Length; index++)
            {
                var newCount = this.clusters[index].PointCount;
                if (newCount == 0 || newCount != counts[index])
                {
                    return true;
                }
            }
            return false;
        }