Changeset 8085 for branches/GP-MoveOperators/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3/IslandOffspringSelectionGeneticAlgorithm.cs
- Timestamp:
- 06/21/12 18:02:33 (12 years ago)
- Location:
- branches/GP-MoveOperators
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GP-MoveOperators
- Property svn:ignore
-
old new 20 20 bin 21 21 protoc.exe 22 _ReSharper.HeuristicLab 3.3 Tests
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/GP-MoveOperators/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3/IslandOffspringSelectionGeneticAlgorithm.cs
r7511 r8085 408 408 ParameterizeStochasticOperator(Problem.SolutionCreator); 409 409 ParameterizeStochasticOperator(Problem.Evaluator); 410 foreach (IOperator op in Problem.Operators ) ParameterizeStochasticOperator(op);410 foreach (IOperator op in Problem.Operators.OfType<IOperator>()) ParameterizeStochasticOperator(op); 411 411 ParameterizeSolutionsCreator(); 412 412 ParameterizeMainLoop(); … … 436 436 } 437 437 protected override void Problem_OperatorsChanged(object sender, EventArgs e) { 438 foreach (IOperator op in Problem.Operators ) ParameterizeStochasticOperator(op);438 foreach (IOperator op in Problem.Operators.OfType<IOperator>()) ParameterizeStochasticOperator(op); 439 439 ParameterizeIterationBasedOperators(); 440 440 UpdateCrossovers();
Note: See TracChangeset
for help on using the changeset viewer.