Changeset 12247 for branches/HeuristicLab.DatasetRefactor/sources/HeuristicLab.Problems.TestFunctions
- Timestamp:
- 03/24/15 11:17:08 (10 years ago)
- Location:
- branches/HeuristicLab.DatasetRefactor/sources
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.DatasetRefactor/sources
- Property svn:mergeinfo changed
-
branches/HeuristicLab.DatasetRefactor/sources/HeuristicLab.Problems.TestFunctions
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.TestFunctions merged: 12126
- Property svn:mergeinfo changed
-
branches/HeuristicLab.DatasetRefactor/sources/HeuristicLab.Problems.TestFunctions/3.3/SingleObjectiveTestFunctionProblem.cs
r12105 r12247 261 261 Operators.Add(new SingleObjectiveTestFunctionPathRelinker()); 262 262 Operators.Add(new SingleObjectiveTestFunctionSimilarityCalculator()); 263 Operators.Add(new QualitySimilarityCalculator { QualityVariableName = SolutionCreator.RealVectorParameter.ActualName });263 Operators.Add(new QualitySimilarityCalculator()); 264 264 Operators.Add(new NoSimilarityCalculator()); 265 265 … … 385 385 op.ParentsParameter.Hidden = true; 386 386 } 387 foreach (var op in Operators.OfType< SingleObjectiveTestFunctionSimilarityCalculator>()) {387 foreach (var op in Operators.OfType<ISolutionSimilarityCalculator>()) { 388 388 op.SolutionVariableName = SolutionCreator.RealVectorParameter.ActualName; 389 389 op.QualityVariableName = Evaluator.QualityParameter.ActualName; 390 op.Bounds = Bounds; 390 var calc = op as SingleObjectiveTestFunctionSimilarityCalculator; 391 if (calc != null) calc.Bounds = Bounds; 391 392 } 392 393 }
Note: See TracChangeset
for help on using the changeset viewer.