private void GredyRoralar(NewGredyAlgorithm gra, ListBox listB2, ListBox listB3)
        {
            listB2.Items.Clear();
            listB3.Items.Clear();
            string rotalar = "";

            foreach (Rota myrota in gra.rotaList)
            {
                listB3.Items.Add("--" + myrota.ekip.ekipID.ToString() + "--");

                //rotalar = "RotFit:" + myrota.rotaceza.ToString();
                //rotalar += " Team " + myrota.ekip.ekipID.ToString() + ">";

                rotalar  = "RF:" + myrota.rotaceza.ToString();
                rotalar += ";RM:" + myrota.toplamUzaklik.metre.ToString();
                rotalar += ";RP:" + myrota.toplamUzaklik.dakika.ToString();
                rotalar += ";Ek" + myrota.ekip.ekipID.ToString() + ">";

                foreach (Gen mygen in myrota.ziyaretSirasi)
                {
                    rotalar += " - " + mygen.hasta.gosterID.ToString();
                    rotalar += "[" + mygen.atandigiTimeWindow.t1.ToString() + ":" + mygen.atandigiTimeWindow.t2.ToString() + "]";
                    if (mygen.hasta.hastaID != 0)
                    {
                        listB3.Items.Add(mygen.hasta.gosterID);
                    }
                }
                listB2.Items.Add(rotalar);
            }
        }
        private void button3_Click(object sender, EventArgs e)
        {
            DateTime zaman = DateTime.Now;

            label9.Text = zaman.ToString();

            secim_ga_gredy = 2;
            nga            = new NewGredyAlgorithm();
            nga.AtamalariYap();
            listBox4.Items.Clear();
            foreach (Hasta hasta in nga._hastaList)
            {
                if (hasta.hastaID != 0)
                {
                    listBox4.Items.Add(hasta.gosterID.ToString());
                }
            }
            GredyRoralar(nga, listBox2, listBox3);

            zaman       = DateTime.Now;
            label8.Text = zaman.ToString();
        }