- Timestamp:
- 06/04/20 18:16:58 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.TestFunctions/3.3/SingleObjectiveTestFunctionProblem.cs
r17571 r17587 70 70 71 71 BestKnownQuality = TestFunction.BestKnownQuality; 72 72 Bounds = (DoubleMatrix)TestFunction.Bounds.Clone(); 73 Dimension = TestFunction.MinimumProblemSize; 74 BestKnownSolutionParameter.Value = TestFunction.GetBestKnownSolution(Dimension); 73 75 InitializeOperators(); 74 76 RegisterEventHandlers(); … … 118 120 TestFunctionParameter.Value) { 119 121 BestKnownRealVector = bestKnownSolution, 120 Bounds = Bounds Parameter.Value122 Bounds = BoundsRefParameter.Value 121 123 }; 122 124 results.Add(new Result("Best Solution", solution)); … … 200 202 op.RealVectorParameter.ActualName = ((IRealVectorSolutionOperator)Encoding.SolutionCreator).RealVectorParameter.ActualName; 201 203 op.RealVectorParameter.Hidden = true; 202 op.BoundsParameter.ActualName = Bounds Parameter.Name;204 op.BoundsParameter.ActualName = BoundsRefParameter.Name; 203 205 op.BoundsParameter.Hidden = true; 204 206 } … … 207 209 op.RealVectorParameter.ActualName = ((IRealVectorSolutionOperator)Encoding.SolutionCreator).RealVectorParameter.ActualName; 208 210 op.RealVectorParameter.Hidden = true; 209 op.BoundsParameter.ActualName = Bounds Parameter.Name;211 op.BoundsParameter.ActualName = BoundsRefParameter.Name; 210 212 op.BoundsParameter.Hidden = true; 211 213 }
Note: See TracChangeset
for help on using the changeset viewer.