Changeset 14090 for branches/HeuristicLab.Problems.MultiObjectiveTestFunctions/HeuristicLab.Problems.MultiObjectiveTestFunctions/3.3/Testfunctions/IHR/IHR.cs
- Timestamp:
- 07/15/16 19:27:12 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.MultiObjectiveTestFunctions/HeuristicLab.Problems.MultiObjectiveTestFunctions/3.3/Testfunctions/IHR/IHR.cs
r14069 r14090 52 52 throw new ArgumentException("The dimensionality of the problem(ProblemSize) must be larger than or equal to the number of objectives"); 53 53 } 54 RealVector y = Y(r); 55 return new double[] { F1(y), F2(r, y) }; 54 return new double[] { F1(r), F2(r) }; 56 55 } 57 56 protected abstract double F1(RealVector y); 58 protected abstract double F2(RealVector r, RealVectory);57 protected abstract double F2(RealVector y); 59 58 protected abstract double G(RealVector y); 60 59 … … 70 69 return (x * x) / (Math.Abs(x) + 0.1); 71 70 } 72 protected RealVector Y(RealVector x) {73 return x;74 }75 71 } 76 72 }
Note: See TracChangeset
for help on using the changeset viewer.