- Timestamp:
- 07/23/20 16:21:55 (4 years ago)
- Location:
- branches/2521_ProblemRefactoring/HeuristicLab.Algorithms.ALPS/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Algorithms.ALPS/3.3/AlpsGeneticAlgorithm.cs
r17226 r17695 444 444 protected override void OnProblemChanged() { 445 445 base.OnProblemChanged(); 446 ParameterizeStochasticOperator( Problem.SolutionCreator);446 ParameterizeStochasticOperator(SolutionCreator); 447 447 foreach (var @operator in Problem.Operators.OfType<IOperator>()) 448 448 ParameterizeStochasticOperator(@operator); … … 476 476 } 477 477 478 protected override void Problem_SolutionCreatorChanged(object sender, EventArgs e) {479 base. Problem_SolutionCreatorChanged(sender, e);480 ParameterizeStochasticOperator( Problem.SolutionCreator);478 protected override void SolutionCreatorOnChanged() { 479 base.SolutionCreatorOnChanged(); 480 ParameterizeStochasticOperator(SolutionCreator); 481 481 482 482 Problem.Evaluator.QualityParameter.ActualNameChanged += Evaluator_QualityParameter_ActualNameChanged; … … 580 580 private void ParameterizeSolutionsCreator() { 581 581 SolutionsCreator.EvaluatorParameter.ActualName = Problem.EvaluatorParameter.Name; 582 SolutionsCreator.SolutionCreatorParameter.ActualName = Problem.SolutionCreatorParameter.Name;582 SolutionsCreator.SolutionCreatorParameter.ActualName = SolutionCreatorParameter.Name; 583 583 } 584 584 private void ParameterizeMainLoop() { -
branches/2521_ProblemRefactoring/HeuristicLab.Algorithms.ALPS/3.3/AlpsOffspringSelectionGeneticAlgorithm.cs
r17226 r17695 507 507 protected override void OnProblemChanged() { 508 508 base.OnProblemChanged(); 509 ParameterizeStochasticOperator( Problem.SolutionCreator);509 ParameterizeStochasticOperator(SolutionCreator); 510 510 foreach (var @operator in Problem.Operators.OfType<IOperator>()) 511 511 ParameterizeStochasticOperator(@operator); … … 539 539 } 540 540 541 protected override void Problem_SolutionCreatorChanged(object sender, EventArgs e) {542 base. Problem_SolutionCreatorChanged(sender, e);543 ParameterizeStochasticOperator( Problem.SolutionCreator);541 protected override void SolutionCreatorOnChanged() { 542 base.SolutionCreatorOnChanged(); 543 ParameterizeStochasticOperator(SolutionCreator); 544 544 545 545 Problem.Evaluator.QualityParameter.ActualNameChanged += Evaluator_QualityParameter_ActualNameChanged; … … 628 628 private void ParameterizeSolutionsCreator() { 629 629 SolutionsCreator.EvaluatorParameter.ActualName = Problem.EvaluatorParameter.Name; 630 SolutionsCreator.SolutionCreatorParameter.ActualName = Problem.SolutionCreatorParameter.Name;630 SolutionsCreator.SolutionCreatorParameter.ActualName = SolutionCreatorParameter.Name; 631 631 } 632 632 private void ParameterizeMainLoop() {
Note: See TracChangeset
for help on using the changeset viewer.