- Timestamp:
- 07/23/20 16:21:55 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Algorithms.ScatterSearch/3.3/ScatterSearch.cs
r17226 r17695 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.Random; 34 34 using HeuristicLab.Selection; … … 283 283 #region Events 284 284 protected override void OnProblemChanged() { 285 ParameterizeStochasticOperator( Problem.SolutionCreator);285 ParameterizeStochasticOperator(SolutionCreator); 286 286 ParameterizeStochasticOperator(Problem.Evaluator); 287 287 foreach (IOperator op in Problem.Operators.OfType<IOperator>()) ParameterizeStochasticOperator(op); … … 298 298 base.OnProblemChanged(); 299 299 } 300 protected override void Problem_SolutionCreatorChanged(object sender, EventArgs e) {301 ParameterizeStochasticOperator( Problem.SolutionCreator);300 protected override void SolutionCreatorOnChanged() { 301 ParameterizeStochasticOperator(SolutionCreator); 302 302 ParameterizeSolutionsCreator(); 303 base. Problem_SolutionCreatorChanged(sender, e);303 base.SolutionCreatorOnChanged(); 304 304 } 305 305 protected override void Problem_EvaluatorChanged(object sender, EventArgs e) { … … 431 431 private void ParameterizeSolutionsCreator() { 432 432 SolutionsCreator.EvaluatorParameter.ActualName = Problem.EvaluatorParameter.Name; 433 SolutionsCreator.SolutionCreatorParameter.ActualName = Problem.SolutionCreatorParameter.Name;433 SolutionsCreator.SolutionCreatorParameter.ActualName = SolutionCreatorParameter.Name; 434 434 } 435 435 private void ParameterizeMainLoop() {
Note: See TracChangeset
for help on using the changeset viewer.