- Timestamp:
- 06/22/20 03:45:41 (4 years ago)
- Location:
- branches/2521_ProblemRefactoring/HeuristicLab.Encodings.LinearLinkageEncoding/3.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.LinearLinkageEncoding/3.4/LinearLinkageMultiObjectiveProblem.cs
r17587 r17620 76 76 } 77 77 78 protected override void OnEncodingChanged() {79 base. OnEncodingChanged();78 protected override void ParameterizeOperators() { 79 base.ParameterizeOperators(); 80 80 Parameterize(); 81 81 } -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.LinearLinkageEncoding/3.4/LinearLinkageProblem.cs
r17587 r17620 61 61 62 62 Operators.Add(new HammingSimilarityCalculator()); 63 // TODO: These should be added in the SingleObjectiveProblem base class (if they were accessible from there) 63 64 Operators.Add(new QualitySimilarityCalculator()); 64 65 Operators.Add(new PopulationSimilarityAnalyzer(Operators.OfType<ISolutionSimilarityCalculator>())); … … 75 76 } 76 77 77 protected override void OnEncodingChanged() {78 base. OnEncodingChanged();78 protected override void ParameterizeOperators() { 79 base.ParameterizeOperators(); 79 80 Parameterize(); 80 81 } 81 82 82 83 private void Parameterize() { 84 // TODO: this is done in base class as well (but operators are added at this level of the hierarchy) 83 85 foreach (var similarityCalculator in Operators.OfType<ISolutionSimilarityCalculator>()) { 84 86 similarityCalculator.SolutionVariableName = Encoding.Name;
Note: See TracChangeset
for help on using the changeset viewer.