private void antsToolStripMenuItem_Click(object sender, EventArgs e) { ExportLocal(); ACSAlgorithm AcsAlgorithm = new ACSAlgorithm(); AcsAlgorithm.StartPosition = FormStartPosition.CenterParent; AcsAlgorithm.ShowDialog(); }
private void antsToolStripMenuItem_Click(object sender, EventArgs e) { ExportLocal(); acs = new ACSAlgorithm(); acs.StartPosition = FormStartPosition.CenterParent; acs.ShowDialog(); gmaps Gmaps; if (acs.RunForDistances) { if (acs.Capacitated) { Gmaps = new gmaps(acs.BestList, acs.Destinations, true, true); Gmaps.ShowDialog(); } else { Gmaps = new gmaps(acs.Optimal, acs.Destinations, true, false); Gmaps.ShowDialog(); } } }