Changeset 7509 for trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm
- Timestamp:
- 02/24/12 08:23:08 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/GeneticAlgorithm.cs
r7493 r7509 361 361 ICrossover crossover = CrossoverParameter.ValidValues.FirstOrDefault(x => x.GetType() == oldCrossover.GetType()); 362 362 if (crossover != null) CrossoverParameter.Value = crossover; 363 } else if (defaultCrossover != null) 363 else oldCrossover = null; 364 } 365 if (oldCrossover == null && defaultCrossover != null) 364 366 CrossoverParameter.Value = defaultCrossover; 365 367 }
Note: See TracChangeset
for help on using the changeset viewer.