Changeset 15281 for branches/Async/HeuristicLab.Problems.LinearAssignment/3.3/LinearAssignmentProblem.cs
- Timestamp:
- 07/23/17 11:17:18 (7 years ago)
- Location:
- branches/Async
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Async
- Property svn:ignore
-
old new 24 24 protoc.exe 25 25 obj 26 .vs
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/Async/HeuristicLab.Problems.LinearAssignment/3.3/LinearAssignmentProblem.cs
r13173 r15281 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2016 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 23 23 using System.Drawing; 24 24 using System.Linq; 25 using HeuristicLab.Analysis; 25 26 using HeuristicLab.Common; 26 27 using HeuristicLab.Core; … … 28 29 using HeuristicLab.Encodings.PermutationEncoding; 29 30 using HeuristicLab.Optimization; 31 using HeuristicLab.Optimization.Operators; 30 32 using HeuristicLab.Parameters; 31 33 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 178 180 Operators.RemoveAll(x => x is IMoveOperator); 179 181 Operators.Add(bestLAPSolutionAnalyzer); 182 183 Operators.Add(new HammingSimilarityCalculator()); 184 Operators.Add(new QualitySimilarityCalculator()); 185 Operators.Add(new PopulationSimilarityAnalyzer(Operators.OfType<ISolutionSimilarityCalculator>())); 180 186 } 181 187 … … 207 213 } 208 214 215 foreach (var similarityCalculator in Operators.OfType<ISolutionSimilarityCalculator>()) { 216 similarityCalculator.SolutionVariableName = SolutionCreator.PermutationParameter.ActualName; 217 similarityCalculator.QualityVariableName = Evaluator.QualityParameter.ActualName; 218 } 219 209 220 bestLAPSolutionAnalyzer.AssignmentParameter.ActualName = SolutionCreator.PermutationParameter.ActualName; 210 221 bestLAPSolutionAnalyzer.BestKnownQualityParameter.ActualName = BestKnownQualityParameter.Name;
Note: See TracChangeset
for help on using the changeset viewer.