Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/08/19 15:41:41 (5 years ago)
Author:
abeham
Message:

#3004: merged to stable (16861)

Location:
stable
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/IslandGeneticAlgorithm.cs

    r17097 r17114  
    2222using System;
    2323using System.Linq;
     24using HEAL.Attic;
    2425using HeuristicLab.Analysis;
    2526using HeuristicLab.Common;
     
    3031using HeuristicLab.Optimization.Operators;
    3132using HeuristicLab.Parameters;
    32 using HEAL.Attic;
    3333using HeuristicLab.PluginInfrastructure;
    3434using HeuristicLab.Random;
     
    372372    protected override void OnProblemChanged() {
    373373      ParameterizeStochasticOperator(Problem.SolutionCreator);
     374      foreach (IOperator op in Problem.Operators.OfType<IOperator>()) ParameterizeStochasticOperator(op);
    374375      ParameterizeStochasticOperatorForIsland(Problem.Evaluator);
    375       foreach (IOperator op in Problem.Operators.OfType<IOperator>()) ParameterizeStochasticOperator(op);
    376376      ParameterizeSolutionsCreator();
    377377      ParameterizeMainLoop();
     
    402402    protected override void Problem_OperatorsChanged(object sender, EventArgs e) {
    403403      foreach (IOperator op in Problem.Operators.OfType<IOperator>()) ParameterizeStochasticOperator(op);
     404      ParameterizeStochasticOperatorForIsland(Problem.Evaluator);
    404405      ParameterizeIterationBasedOperators();
    405406      UpdateCrossovers();
Note: See TracChangeset for help on using the changeset viewer.