Changeset 12126 for trunk/sources/HeuristicLab.Problems.TravelingSalesman
- Timestamp:
- 03/04/15 15:22:21 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.TravelingSalesman/3.3/TravelingSalesmanProblem.cs
r12102 r12126 234 234 Operators.Add(new TSPSimultaneousPathRelinker()); 235 235 Operators.Add(new TSPSimilarityCalculator()); 236 Operators.Add(new QualitySimilarityCalculator { QualityVariableName = SolutionCreator.PermutationParameter.ActualName });236 Operators.Add(new QualitySimilarityCalculator()); 237 237 Operators.Add(new NoSimilarityCalculator()); 238 238 … … 359 359 op.ParentsParameter.Hidden = true; 360 360 } 361 foreach ( TSPSimilarityCalculator op in Operators.OfType<TSPSimilarityCalculator>()) {361 foreach (ISolutionSimilarityCalculator op in Operators.OfType<ISolutionSimilarityCalculator>()) { 362 362 op.SolutionVariableName = SolutionCreator.PermutationParameter.ActualName; 363 363 op.QualityVariableName = Evaluator.QualityParameter.ActualName;
Note: See TracChangeset
for help on using the changeset viewer.