- Timestamp:
- 07/23/20 16:21:55 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Algorithms.LocalSearch/3.3/LocalSearch.cs
r17226 r17695 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HEAL.Attic; 25 26 using HeuristicLab.Analysis; 26 27 using HeuristicLab.Common; … … 31 32 using HeuristicLab.Optimization.Operators; 32 33 using HeuristicLab.Parameters; 33 using HEAL.Attic;34 34 using HeuristicLab.Random; 35 35 … … 201 201 #region Events 202 202 protected override void OnProblemChanged() { 203 ParameterizeStochasticOperator( Problem.SolutionCreator);203 ParameterizeStochasticOperator(SolutionCreator); 204 204 ParameterizeStochasticOperator(Problem.Evaluator); 205 205 foreach (IOperator op in Problem.Operators.OfType<IOperator>()) ParameterizeStochasticOperator(op); … … 220 220 base.OnProblemChanged(); 221 221 } 222 protected override void Problem_SolutionCreatorChanged(object sender, EventArgs e) {223 ParameterizeStochasticOperator( Problem.SolutionCreator);222 protected override void SolutionCreatorOnChanged() { 223 ParameterizeStochasticOperator(SolutionCreator); 224 224 ParameterizeSolutionsCreator(); 225 base. Problem_SolutionCreatorChanged(sender, e);225 base.SolutionCreatorOnChanged(); 226 226 } 227 227 protected override void Problem_EvaluatorChanged(object sender, EventArgs e) { … … 359 359 private void ParameterizeSolutionsCreator() { 360 360 SolutionsCreator.EvaluatorParameter.ActualName = Problem.EvaluatorParameter.Name; 361 SolutionsCreator.SolutionCreatorParameter.ActualName = Problem.SolutionCreatorParameter.Name;361 SolutionsCreator.SolutionCreatorParameter.ActualName = SolutionCreatorParameter.Name; 362 362 } 363 363 private void ParameterizeMainLoop() {
Note: See TracChangeset
for help on using the changeset viewer.