Changeset 8002 for branches/FitnessLandscapeAnalysis/HeuristicLab.Analysis.FitnessLandscape/Algorithms/RepeatedLocalAnalysis.cs
- Timestamp:
- 06/14/12 09:32:01 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/FitnessLandscapeAnalysis/HeuristicLab.Analysis.FitnessLandscape/Algorithms/RepeatedLocalAnalysis.cs
r7128 r8002 185 185 ParameterizeStochasticOperator(Problem.SolutionCreator); 186 186 ParameterizeStochasticOperator(Problem.Evaluator); 187 foreach (IOperator op in Problem.Operators ) ParameterizeStochasticOperator(op);187 foreach (IOperator op in Problem.Operators.OfType<IOperator>()) ParameterizeStochasticOperator(op); 188 188 ParameterizeSolutionsCreator(); 189 189 ParameterizeMainLoop(); … … 212 212 } 213 213 protected override void Problem_OperatorsChanged(object sender, EventArgs e) { 214 foreach (IOperator op in Problem.Operators ) ParameterizeStochasticOperator(op);214 foreach (IOperator op in Problem.Operators.OfType<IOperator>()) ParameterizeStochasticOperator(op); 215 215 UpdateMutators(); 216 216 UpdateSelectors();
Note: See TracChangeset
for help on using the changeset viewer.