Changeset 14068 for branches/HeuristicLab.Problems.MultiObjectiveTestFunctions/HeuristicLab.Problems.MultiObjectiveTestFunctions/3.3/Testfunctions/Misc/Kursawe.cs
- Timestamp:
- 07/14/16 14:33:15 (8 years ago)
- Location:
- branches/HeuristicLab.Problems.MultiObjectiveTestFunctions/HeuristicLab.Problems.MultiObjectiveTestFunctions/3.3/Testfunctions/Misc
- Files:
-
- 1 added
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.MultiObjectiveTestFunctions/HeuristicLab.Problems.MultiObjectiveTestFunctions/3.3/Testfunctions/Misc/Kursawe.cs
r14067 r14068 30 30 [StorableClass] 31 31 public class Kursawe : MultiObjectiveTestFunction { 32 33 public override double[,] Bounds(int objectives) { 32 protected override double[,] GetBounds(int objectives) { 34 33 return new double[,] { { -5, 5 } }; 35 34 } 36 35 37 p ublic override bool[]Maximization(int objecitves) {36 protected override bool[] GetMaximization(int objecitves) { 38 37 return new bool[2]; 39 38 } 40 39 41 p ublic override IEnumerable<double[]>OptimalParetoFront(int objecitves) {40 protected override IEnumerable<double[]> GetOptimalParetoFront(int objecitves) { 42 41 return PFStore.get(this.ItemName); 43 42 } 44 public override double BestKnownHypervolume(int objectives) { 45 return Hypervolume.Calculate(OptimalParetoFront(objectives), ReferencePoint(objectives), Maximization(objectives)); 43 44 protected override double GetBestKnownHypervolume(int objectives) { 45 return Hypervolume.Calculate(GetOptimalParetoFront(objectives), GetReferencePoint(objectives), GetMaximization(objectives)); 46 46 } 47 public override double[] ReferencePoint(int objectives) { 47 48 protected override double[] GetReferencePoint(int objectives) { 48 49 return new double[] { 11, 11 }; 49 50 }
Note: See TracChangeset
for help on using the changeset viewer.