private static List <IndividualBase> MonoObjectiveGeneticAlgorithmTest(ProblemBase mainProblem, string convergenceReport) { MonoObjectiveGeneticAlgorithm AG = new MonoObjectiveGeneticAlgorithm( mainProblem, new Tour(3), new Ciclic(), new BestAmongstAll(100), 200, 200, 30); List <IndividualBase> retorno = new List <IndividualBase>(); retorno.Add(AG.Execute()); return(retorno); }
private static List <IndividualBase> MonoObjectiveGeneticAlgorithmTest(ProblemBase mainProblem, out string convergenceReport) { MonoObjectiveGeneticAlgorithm AG = new MonoObjectiveGeneticAlgorithm( mainProblem, new Tour(1), new PMX(), new Elitist(30), 200, 200, 15); List <IndividualBase> retorno = new List <IndividualBase>(); retorno.Add(AG.Execute(100, out convergenceReport)); return(retorno); }