Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/19/21 16:07:45 (2 years ago)
Author:
mkommend
Message:

#2521: Merged trunk changes into branch.

Location:
branches/2521_ProblemRefactoring/HeuristicLab.Algorithms.MultiObjectiveLocalSearch
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Algorithms.MultiObjectiveLocalSearch/3.3/GSEMO.cs

    r17836 r18086  
    1 #region License Information
    2 /* HeuristicLab
    3  * Copyright (C) 2002-2021 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    4  *
    5  * This file is part of HeuristicLab.
    6  *
    7  * HeuristicLab is free software: you can redistribute it and/or modify
    8  * it under the terms of the GNU General Public License as published by
    9  * the Free Software Foundation, either version 3 of the License, or
    10  * (at your option) any later version.
    11  *
    12  * HeuristicLab is distributed in the hope that it will be useful,
    13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    15  * GNU General Public License for more details.
    16  *
    17  * You should have received a copy of the GNU General Public License
    18  * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
    19  */
    20 #endregion
    21 
     1
    222using System;
    233using System.Linq;
     
    344324    #region Events
    345325    protected override void OnProblemChanged() {
    346       ParameterizeStochasticOperator(Problem.SolutionCreator);
    347326      ParameterizeStochasticOperator(Problem.Evaluator);
    348327      foreach (var op in Problem.Operators.OfType<IOperator>()) ParameterizeStochasticOperator(op);
     
    357336    }
    358337
    359     protected override void Problem_SolutionCreatorChanged(object sender, EventArgs e) {
    360       ParameterizeStochasticOperator(Problem.SolutionCreator);
    361       ParameterizeSolutionsCreator();
    362       base.Problem_SolutionCreatorChanged(sender, e);
    363     }
    364338    protected override void Problem_EvaluatorChanged(object sender, EventArgs e) {
    365339      ParameterizeStochasticOperator(Problem.Evaluator);
     
    385359    private void ParameterizeSolutionsCreator() {
    386360      solutionsCreator.EvaluatorParameter.ActualName = Problem.EvaluatorParameter.Name;
    387       solutionsCreator.SolutionCreatorParameter.ActualName = Problem.SolutionCreatorParameter.Name;
     361      solutionsCreator.SolutionCreatorParameter.ActualName = SolutionCreatorParameter.Name;
    388362    }
    389363    private void ParameterizeStochasticOperator(IOperator op) {
Note: See TracChangeset for help on using the changeset viewer.