Changeset 17225 for branches/2521_ProblemRefactoring/HeuristicLab.Problems.TestFunctions.MultiObjective/3.3/TestFunctions/ZDT
- Timestamp:
- 08/29/19 13:53:26 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.TestFunctions.MultiObjective/3.3/TestFunctions/ZDT/ZDT.cs
r16723 r17225 28 28 [StorableType("A8192C08-A1DA-479A-9381-9B634761B521")] 29 29 public abstract class ZDT : MultiObjectiveTestFunction { 30 protected override I Enumerable<double[]> GetOptimalParetoFront(int objectives) {30 protected override IList<double[]> GetOptimalParetoFront(int objectives) { 31 31 return ParetoFrontStore.GetParetoFront("ZDT.ParetoFronts." + this.ItemName); 32 32 } 33 33 34 34 protected override double[,] GetBounds(int objectives) { 35 return new double[,] { { 0, 1 }};35 return new double[,] {{0, 1}}; 36 36 } 37 37 … … 41 41 42 42 protected override double[] GetReferencePoint(int objecitives) { 43 return new double[] { 11.0, 11.0};43 return new double[] {11.0, 11.0}; 44 44 } 45 45 … … 51 51 protected ZDT(StorableConstructorFlag _) : base(_) { } 52 52 protected ZDT(MultiObjectiveTestFunction original, Cloner cloner) 53 : base(original, cloner) { 54 } 53 : base(original, cloner) { } 55 54 protected ZDT() : base(minimumObjectives: 2, maximumObjectives: 2, minimumSolutionLength: 1, maximumSolutionLength: int.MaxValue) { } 56 55
Note: See TracChangeset
for help on using the changeset viewer.