Пример #1
0
        //Generates the planest, solution, and then appends those to a datatable based off of the genetic algorithm
        public DataTable FilloutDataTableWithResults()
        {
            galaxy = h.GeneratePlanets(InitializationForm.ValueForPlanets);
            populationOfSolutions = p.InitialPopulation(galaxy);
            DataTable dt = ga.Algorithm(InitializationForm.ValueForGenerations, InitializationForm.ValueForMutationFrequency, populationOfSolutions);

            return(dt);
        }