Changeset 14067 for branches/HeuristicLab.Problems.MultiObjectiveTestFunctions/HeuristicLab.Problems.MultiObjectiveTestFunctions/3.3/Testfunctions/ZDT/ZDT.cs
- Timestamp:
- 07/14/16 13:34:21 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.MultiObjectiveTestFunctions/HeuristicLab.Problems.MultiObjectiveTestFunctions/3.3/Testfunctions/ZDT/ZDT.cs
r13989 r14067 41 41 } 42 42 43 public override int MinimumSolutionLength {44 get { return 1; }45 }46 47 public override int MaximumSolutionLength {48 get { return int.MaxValue; }49 }50 51 public override int MinimumObjectives {52 get { return 2; }53 }54 55 public override int MaximumObjectives {56 get { return 2; }57 }58 59 43 public override double[] ReferencePoint(int objecitives) { 60 44 return new double[] { 11.0, 11.0 }; … … 67 51 [StorableConstructor] 68 52 protected ZDT(bool deserializing) : base(deserializing) { } 69 protected ZDT(MultiObjectiveTestFunction original, Cloner cloner) : base(original, cloner) { 53 protected ZDT(MultiObjectiveTestFunction original, Cloner cloner) 54 : base(original, cloner) { 70 55 } 71 protected ZDT() : base(minimumObjectives: 2, maximumObjectives: 2, minimumSolutionLength: 1 ) { }56 protected ZDT() : base(minimumObjectives: 2, maximumObjectives: 2, minimumSolutionLength: 1, maximumSolutionLength: int.MaxValue) { } 72 57 73 58 public override double[] Evaluate(RealVector r, int objectives) {
Note: See TracChangeset
for help on using the changeset viewer.