Changeset 12247 for branches/HeuristicLab.DatasetRefactor/sources/HeuristicLab.Problems.TravelingSalesman
- Timestamp:
- 03/24/15 11:17:08 (10 years ago)
- Location:
- branches/HeuristicLab.DatasetRefactor/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.DatasetRefactor/sources
- Property svn:mergeinfo changed
-
branches/HeuristicLab.DatasetRefactor/sources/HeuristicLab.Problems.TravelingSalesman/3.3/TravelingSalesmanProblem.cs
r12105 r12247 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.