예제 #1
0
 /// <summary>
 ///   Initializes a new instance of the <see cref="MeanShiftClusterCollection"/> class.
 /// </summary>
 ///
 public MeanShiftClusterCollection(MeanShift algorithm, int k, KDTree <int> tree, double[][] modes)
     : base(k, tree.Distance)
 {
     this.algorithm = algorithm;
     this.tree      = tree;
     this.modes     = modes;
 }
예제 #2
0
 /// <summary>
 ///   Initializes a new instance of the <see cref="MeanShiftClusterCollection"/> class.
 /// </summary>
 ///
 public MeanShiftClusterCollection(MeanShift algorithm, int k, KDTree <int> tree, double[][] modes)
 {
     this.collection = new MeanShiftCluster.ClusterCollection(this, k);
     this.algorithm  = algorithm;
     this.tree       = tree;
     this.modes      = modes;
 }