public Population(Problem problem) { _problem = problem; InitializePopulation(); _bestSolution = new Solution(); _generationsSoFar = 0; }
public GeneticAlgorithm() { _problem = new Problem(); _population = new Population(_problem); }