Changeset 14068 for branches/HeuristicLab.Problems.MultiObjectiveTestFunctions/HeuristicLab.Problems.MultiObjectiveTestFunctions/3.3/Testfunctions/IHR/IHR4.cs
- Timestamp:
- 07/14/16 14:33:15 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.MultiObjectiveTestFunctions/HeuristicLab.Problems.MultiObjectiveTestFunctions/3.3/Testfunctions/IHR/IHR4.cs
r13988 r14068 30 30 [StorableClass] 31 31 public class IHR4 : IHR { 32 33 34 public override IEnumerable<double[]> OptimalParetoFront(int objectives) { 32 protected override IEnumerable<double[]> GetOptimalParetoFront(int objectives) { 35 33 List<double[]> res = new List<double[]>(); 36 34 for (int i = 0; i <= 500; i++) { … … 41 39 return res; 42 40 } 43 public override double BestKnownHypervolume(int objectives) { 44 return Hypervolume.Calculate(OptimalParetoFront(objectives), ReferencePoint(objectives), Maximization(objectives)); 41 42 protected override double GetBestKnownHypervolume(int objectives) { 43 return Hypervolume.Calculate(GetOptimalParetoFront(objectives), GetReferencePoint(objectives), GetMaximization(objectives)); 45 44 } 46 45 47 p ublic override double[,]Bounds(int objectives) {46 protected override double[,] GetBounds(int objectives) { 48 47 return new double[,] { { -5, 5 } }; 49 48 }
Note: See TracChangeset
for help on using the changeset viewer.