예제 #1
0
        private void Button12_Click(object sender, EventArgs e)
        {
            Klass.Metric mk = new Klass.WPGMA();
            Klass.CopyDots(Klass.Kls_to_List(gls), old_Dots);
            //CopyDots(Dots, old_Dots);
            Klass.lab3(gls, metric, Convert.ToInt32(klasters.Text), mk);

            RefreshAll();
        }
예제 #2
0
 private void Button13_Click(object sender, EventArgs e)
 {
     try
     {
         Klass.CopyDots(Klass.Kls_to_List(gls), old_Dots);
         Klass.lab3(gls, metric, Convert.ToInt32(klasters.Text), kls_metric);
         Check_colors();
         RefreshAll();
     }
     catch { }
 }
예제 #3
0
        private void Button4_Click(object sender, EventArgs e)
        {
            //try
            //{
            Klass.Metric mk = new Klass.Nearest();
            Klass.CopyDots(Klass.Kls_to_List(gls), old_Dots);
            //CopyDots(Dots, old_Dots);
            Klass.lab3(gls, metric, Convert.ToInt32(klasters.Text), mk);

            RefreshAll();
            //}
            //catch { }
        }