private void btnGerar_Click(object sender, EventArgs e) { Individuo ind = new Individuo(); txtIndividuo.Text = ind.PrintIndividuo(); Populacao pop = new Populacao(); txtPopulacao.Text = pop.PrintPop(); }
private void btnIterar_Click(object sender, EventArgs e) { pop = ag.ExecutaAG(pop); txtPop.Text = pop.PrintPop(); lblMedia.Text = pop.GetMediaPopulacao().ToString(); }