Changeset 7524
- Timestamp:
- 02/27/12 13:00:14 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/IslandGeneticAlgorithm.cs
r7511 r7524 499 499 ICrossover defaultCrossover = Problem.Operators.OfType<ICrossover>().FirstOrDefault(); 500 500 CrossoverParameter.ValidValues.Clear(); 501 foreach (ICrossover crossover in Problem.Operators.OfType<ICrossover>().OrderBy(x => x.Name)) 501 foreach (ICrossover crossover in Problem.Operators.OfType<ICrossover>().OrderBy(x => x.Name)) { 502 ParameterizeStochasticOperatorForIsland(crossover); 502 503 CrossoverParameter.ValidValues.Add(crossover); 504 } 503 505 if (oldCrossover != null) { 504 506 ICrossover crossover = CrossoverParameter.ValidValues.FirstOrDefault(x => x.GetType() == oldCrossover.GetType());
Note: See TracChangeset
for help on using the changeset viewer.