private Solution GenerateSolution() { var genotype = Enumerable.Range(0, GenotypeLength).ToList().Shuffle(); var individual = new Individual(genotype); return(new Solution(individual, individual.CalcFittness(AdjacencyMatrix))); }