Changeset 16861 for trunk/HeuristicLab.Algorithms.GeneticAlgorithm
- Timestamp:
- 04/20/19 23:39:41 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/IslandGeneticAlgorithm.cs
r16565 r16861 22 22 using System; 23 23 using System.Linq; 24 using HEAL.Attic; 24 25 using HeuristicLab.Analysis; 25 26 using HeuristicLab.Common; … … 30 31 using HeuristicLab.Optimization.Operators; 31 32 using HeuristicLab.Parameters; 32 using HEAL.Attic;33 33 using HeuristicLab.PluginInfrastructure; 34 34 using HeuristicLab.Random; … … 372 372 protected override void OnProblemChanged() { 373 373 ParameterizeStochasticOperator(Problem.SolutionCreator); 374 foreach (IOperator op in Problem.Operators.OfType<IOperator>()) ParameterizeStochasticOperator(op); 374 375 ParameterizeStochasticOperatorForIsland(Problem.Evaluator); 375 foreach (IOperator op in Problem.Operators.OfType<IOperator>()) ParameterizeStochasticOperator(op);376 376 ParameterizeSolutionsCreator(); 377 377 ParameterizeMainLoop(); … … 402 402 protected override void Problem_OperatorsChanged(object sender, EventArgs e) { 403 403 foreach (IOperator op in Problem.Operators.OfType<IOperator>()) ParameterizeStochasticOperator(op); 404 ParameterizeStochasticOperatorForIsland(Problem.Evaluator); 404 405 ParameterizeIterationBasedOperators(); 405 406 UpdateCrossovers();
Note: See TracChangeset
for help on using the changeset viewer.