- Timestamp:
- 07/23/20 16:21:55 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Algorithms.RAPGA/3.3/RAPGA.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.PluginInfrastructure; 34 34 using HeuristicLab.Random; … … 309 309 #region Events 310 310 protected override void OnProblemChanged() { 311 ParameterizeStochasticOperator( Problem.SolutionCreator);311 ParameterizeStochasticOperator(SolutionCreator); 312 312 ParameterizeStochasticOperator(Problem.Evaluator); 313 313 foreach (IOperator op in Problem.Operators.OfType<IOperator>()) ParameterizeStochasticOperator(op); … … 325 325 } 326 326 327 protected override void Problem_SolutionCreatorChanged(object sender, EventArgs e) {328 ParameterizeStochasticOperator( Problem.SolutionCreator);327 protected override void SolutionCreatorOnChanged() { 328 ParameterizeStochasticOperator(SolutionCreator); 329 329 ParameterizeSolutionsCreator(); 330 base. Problem_SolutionCreatorChanged(sender, e);330 base.SolutionCreatorOnChanged(); 331 331 } 332 332 protected override void Problem_EvaluatorChanged(object sender, EventArgs e) { … … 398 398 private void ParameterizeSolutionsCreator() { 399 399 SolutionsCreator.EvaluatorParameter.ActualName = Problem.EvaluatorParameter.Name; 400 SolutionsCreator.SolutionCreatorParameter.ActualName = Problem.SolutionCreatorParameter.Name;400 SolutionsCreator.SolutionCreatorParameter.ActualName = SolutionCreatorParameter.Name; 401 401 } 402 402 private void ParameterizeRAPGAMainLoop() {
Note: See TracChangeset
for help on using the changeset viewer.