Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/14/12 09:32:01 (12 years ago)
Author:
ascheibe
Message:

#1696 adapted FLA to changes of r7999

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/FitnessLandscapeAnalysis/HeuristicLab.Analysis.FitnessLandscape/Algorithms/LocalAnalysis.cs

    r7128 r8002  
    150150      ParameterizeStochasticOperator(Problem.SolutionCreator);
    151151      ParameterizeStochasticOperator(Problem.Evaluator);
    152       foreach (IOperator op in Problem.Operators) ParameterizeStochasticOperator(op);
     152      foreach (IOperator op in Problem.Operators.OfType<IOperator>()) ParameterizeStochasticOperator(op);
    153153      ParameterizeSolutionsCreator();
    154154      ParameterizeMainLoop();
     
    177177    }
    178178    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);
    180180      UpdateMutators();
    181181      UpdateSelectors();
Note: See TracChangeset for help on using the changeset viewer.