Changeset 17114 for stable/HeuristicLab.Algorithms.GeneticAlgorithm
- Timestamp:
- 07/08/19 15:41:41 (5 years ago)
- Location:
- stable
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
-
stable/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/IslandGeneticAlgorithm.cs
r17097 r17114 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.