Changeset 17695 for branches/2521_ProblemRefactoring/HeuristicLab.Algorithms.RandomSearch/3.3/RandomSearchAlgorithm.cs
- Timestamp:
- 07/23/20 16:21:55 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Algorithms.RandomSearch/3.3/RandomSearchAlgorithm.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 … … 236 236 protected override void OnProblemChanged() { 237 237 base.OnProblemChanged(); 238 ParameterizeStochasticOperator( Problem.SolutionCreator);238 ParameterizeStochasticOperator(SolutionCreator); 239 239 foreach (var @operator in Problem.Operators.OfType<IOperator>()) 240 240 ParameterizeStochasticOperator(@operator); … … 268 268 } 269 269 270 protected override void Problem_SolutionCreatorChanged(object sender, EventArgs e) {271 base. Problem_SolutionCreatorChanged(sender, e);272 ParameterizeStochasticOperator( Problem.SolutionCreator);270 protected override void SolutionCreatorOnChanged() { 271 base.SolutionCreatorOnChanged(); 272 ParameterizeStochasticOperator(SolutionCreator); 273 273 274 274 if (SingleObjectiveProblem != null) … … 316 316 private void ParameterizeSolutionsCreator() { 317 317 SolutionsCreator.EvaluatorParameter.ActualName = Problem.EvaluatorParameter.Name; 318 SolutionsCreator.SolutionCreatorParameter.ActualName = Problem.SolutionCreatorParameter.Name;318 SolutionsCreator.SolutionCreatorParameter.ActualName = SolutionCreatorParameter.Name; 319 319 } 320 320 private void ParameterizeAnalyzers() {
Note: See TracChangeset
for help on using the changeset viewer.