Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/23/20 16:21:55 (4 years ago)
Author:
abeham
Message:

#2521:

  • Moving solution creator parameter from problems to algorithms (breaking wiring in some HeuristicOptimizationProblems)
  • Disallowing evaluator or encoding changes in encoding-specific base problems (to avoid confusion in derived problems whether this needs to be handled or not)
  • Added private set to ReferenceParameter property (serialization)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Problems.QuadraticAssignment/3.3/QuadraticAssignmentProblem.cs

    r17680 r17695  
    158158
    159159    #region Events
    160     protected override void OnEncodingChanged() {
    161       base.OnEncodingChanged();
    162       Dimension = Weights.Rows;
    163       Parameterize();
    164     }
    165     protected override void OnEvaluatorChanged() {
    166       Evaluator.QualityParameter.ActualNameChanged += Evaluator_QualityParameter_ActualNameChanged;
    167       Parameterize();
    168       base.OnEvaluatorChanged();
    169     }
    170160    private void Evaluator_QualityParameter_ActualNameChanged(object sender, EventArgs e) {
    171161      Parameterize();
Note: See TracChangeset for help on using the changeset viewer.