private void StartButton_Click(object sender, EventArgs e)
        {
            int w;
            double x, y;
            w =Convert.ToInt32( QuantidadeIndividuos.Text.Trim());
            x =Convert.ToDouble(TaxaCruzamento.Text.Trim());
            y =Convert.ToDouble( TaxaMutacao.Text.Trim());

            GeneticSolver inicio = new GeneticSolver(w, x, y, 0 );
            inicio.Begin();
        }
示例#2
0
        private void StartButton_Click(object sender, EventArgs e)
        {
            int    w;
            double x, y;

            w = Convert.ToInt32(QuantidadeIndividuos.Text.Trim());
            x = Convert.ToDouble(TaxaCruzamento.Text.Trim());
            y = Convert.ToDouble(TaxaMutacao.Text.Trim());

            GeneticSolver inicio = new GeneticSolver(w, x, y, 0);

            inicio.Begin();
        }