Changeset 8002 for branches/FitnessLandscapeAnalysis/HeuristicLab.Analysis.FitnessLandscape/Algorithms/LocalAnalysis.cs
- Timestamp:
- 06/14/12 09:32:01 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/FitnessLandscapeAnalysis/HeuristicLab.Analysis.FitnessLandscape/Algorithms/LocalAnalysis.cs
r7128 r8002 150 150 ParameterizeStochasticOperator(Problem.SolutionCreator); 151 151 ParameterizeStochasticOperator(Problem.Evaluator); 152 foreach (IOperator op in Problem.Operators ) ParameterizeStochasticOperator(op);152 foreach (IOperator op in Problem.Operators.OfType<IOperator>()) ParameterizeStochasticOperator(op); 153 153 ParameterizeSolutionsCreator(); 154 154 ParameterizeMainLoop(); … … 177 177 } 178 178 protected override void Problem_OperatorsChanged(object sender, EventArgs e) { 179 foreach (IOperator op in Problem.Operators ) ParameterizeStochasticOperator(op);179 foreach (IOperator op in Problem.Operators.OfType<IOperator>()) ParameterizeStochasticOperator(op); 180 180 UpdateMutators(); 181 181 UpdateSelectors();
Note: See TracChangeset
for help on using the changeset viewer.