public void UpdateCluster(Kmeans k)
 {
     kmeans             = k;
     udClusterA.Maximum = kmeans.clusters.Length - 1;
     udClusterA.Minimum = 0;
     udClusterB.Maximum = kmeans.clusters.Length - 1;
     udClusterB.Minimum = 0;
     SetData((int)udClusterA.Value, (int)udClusterB.Value);
 }
 public void UpdateKmeans(Kmeans k)
 {
     kmeans = k;
     udClusterId.Maximum = kmeans.clusters.Length - 1;
     udClusterId.Minimum = 0;
     udShoot.Minimum     = 0;
     udShoot.Maximum     = kmeans.clusters[(int)udClusterId.Value].members.Count;
     SetData((int)udClusterId.Value, (int)udShoot.Value);
 }
 public GraphCluster(Kmeans k)
 {
     kmeans = k;
     InitializeComponent();
 }
Example #4
0
 public Graph2(Kmeans k)
 {
     kmeans = k;
     InitializeComponent();
 }